public class BleManagerConfig_LowPower extends BleManagerConfig
BleScanApi.POST_LOLLIPOP
, and sets the
scan power to BleScanPower.LOW_POWER
. Note that if the android device running Sweetblue is on an OS less than
Lollipop, scanning will still work, however, you can't control the power used with that API. This class also sets a slower
update rate, and is more aggressive about going into idle mode (along with idle mode being slower as well).BleManagerConfig.DeviceNameComparator
BleDeviceConfig.AuthTransactionFactory<T extends BleTransaction.Auth>, BleDeviceConfig.DefaultBondFilter, BleDeviceConfig.InitTransactionFactory<T extends BleTransaction.Init>, BleDeviceConfig.RefreshOption
BleNodeConfig.DefaultHistoricalDataLogFilter, BleNodeConfig.DefaultTaskTimeoutRequestFilter, BleNodeConfig.HistoricalDataFactory, BleNodeConfig.HistoricalDataLogFilter
autoPauseResumeDetection, autoScanDelayAfterBleTurnsOn, autoScanDelayAfterResume, autoScanDuringOta, autoScanPauseTimeWhileAppIsBackgrounded, autoUpdateRate, blockingShutdown, bluetoothManagerImplementation, DEFAULT_AUTO_SCAN_DELAY_AFTER_RESUME, DEFAULT_AUTO_UPDATE_RATE, DEFAULT_CLASSIC_SCAN_BOOST_TIME, DEFAULT_DELAY_BEFORE_IDLE, DEFAULT_IDLE_UPDATE_RATE, DEFAULT_MANAGER_STATE_POLL_RATE, DEFAULT_SCAN_INFINITE_INTERVAL_TIME, DEFAULT_SCAN_INFINITE_PAUSE_TIME, DEFAULT_UH_OH_CALLBACK_THROTTLE, defaultDiscoveryListener, defaultListComparator, defaultManagerStates, defaultNativeScanFilterList, defaultScanFilter, defaultStatePollRate, delayBetweenTasks, EMPTY_NATIVE_FILTER, enableCrashResolver, enableCrashResolverForReset, idealMinScanTime, idleUpdateRate, infinitePauseInterval, infiniteScanInterval, logger, loggingOptions, manageCpuWakeLock, manageLastUhOhOnDisk, MAX_CLASSIC_SCAN_TIME, minTimeToIdle, postCallbacksToMainThread, requestBackgroundOperation, revertToClassicDiscoveryIfNeeded, scanApi, scanClassicBoostLength, scanPower, scanReportDelay, serverFactory, stopScanOnPause, timeTrackerSetting, uhOhCallbackThrottle, updateHandler, updateLoopCallback, updateThreadType, uuidNameMaps
allowDuplicatePollEntries, alwaysBondOnConnect, autoBondFixes, autoEnableNotifiesOnReconnect, autoGetServices, autoNegotiateMtuOnReconnect, autoReconnectDeviceWhenBleTurnsBackOn, bluetoothDeviceFactory, bondFilter, bondingFailFailsConnection, bondRetryFilter, cacheDeviceOnUndiscovery, clearGattOnOtaSuccess, connectFailRetryConnectingOverall, connectionBugFixTimeout, DEFAULT_CONNECTION_BUG_FIX_TIMEOUT, DEFAULT_GATT_REFRESH_DELAY, DEFAULT_MAX_BOND_RETRIES, DEFAULT_MAX_CONNECTION_FAIL_HISTORY_SIZE, DEFAULT_MINIMUM_SCAN_TIME, DEFAULT_RSSI_AUTO_POLL_RATE, DEFAULT_RSSI_MAX, DEFAULT_RSSI_MIN, DEFAULT_RUNNING_AVERAGE_N, DEFAULT_SCAN_KEEP_ALIVE, DEFAULT_TX_POWER, defaultAuthFactory, defaultDeviceStates, defaultInitFactory, defaultTransactionAtomicity, defaultTxPower, equalOpportunityReadsWrites, forceBondDialog, forceBondHackInterval, gattFactory, gattRefreshDelay, gattRefreshOption, includeOtaReadWriteTimesInAverage, manageLastDisconnectOnDisk, maxConnectionFailHistorySize, minScanTimeNeededForUndiscovery, mtuTestCallback, nForAverageRunningReadTime, nForAverageRunningWriteTime, phyOptions, reconnectFilter, retainDeviceWhenBleTurnsOff, rssi_max, rssi_min, rssiAutoPollRate, saveNameChangesToDisk, serviceDiscoveryDelay, tryBondingWhileDisconnected, tryBondingWhileDisconnected_manageOnDisk, undiscoverDeviceWhenBleTurnsOff, undiscoveryKeepAlive, useGattRefresh, useLeTransportForBonding
alwaysUseAutoConnect, autoStripeWrites, DEFAULT_MTU_SIZE, disconnectIsCancellable, GATT_READ_MTU_OVERHEAD, GATT_WRITE_MTU_OVERHEAD, historicalDataFactory, historicalDataLogFilter, INVALID_TX_POWER, taskTimeoutRequestFilter
Constructor and Description |
---|
BleManagerConfig_LowPower() |
clone, newWithLogging
newNulled
getTimeout, nullOut, readJSON, writeJSON