public interface Settings extends MetaWearBoard.Module
Modifier and Type | Interface and Description |
---|---|
static interface |
Settings.BatteryDataProducer
Produces battery data that can be used with the firmware features
|
static class |
Settings.BatteryState
Wrapper class encapsulating the battery state data
|
static class |
Settings.BleAdvertisementConfig
Bluetooth LE advertising configuration
|
static interface |
Settings.BleAdvertisementConfigEditor
Interface for modifying the Bluetooth LE advertising configuration
|
static class |
Settings.BleConnectionParameters
Wrapper class containing the connection parameters
|
static interface |
Settings.BleConnectionParametersEditor
Interface for editing the Bluetooth LE connection parameters
|
Modifier and Type | Method and Description |
---|---|
Settings.BatteryDataProducer |
battery()
Gets an object to use the battery data
|
ActiveDataProducer |
chargeStatus()
Gets an object to control charging status notifications
|
Settings.BleAdvertisementConfigEditor |
editBleAdConfig()
Edit the ble advertising configuration
|
Settings.BleConnectionParametersEditor |
editBleConnParams()
Edit the ble connection parameters
|
bolts.Task<Observer> |
onDisconnectAsync(CodeBlock codeBlock)
Programs a task that will be execute on-board when a disconnect occurs
|
ActiveDataProducer |
powerStatus()
Gets an object to control power status notifications
|
bolts.Task<Settings.BleAdvertisementConfig> |
readBleAdConfigAsync()
Read the current ble advertising configuration
|
bolts.Task<Settings.BleConnectionParameters> |
readBleConnParamsAsync()
Read the current ble connection parameters
|
bolts.Task<java.lang.Byte> |
readCurrentChargeStatusAsync()
Reads the current charge status
|
bolts.Task<java.lang.Byte> |
readCurrentPowerStatusAsync()
Reads the current power status if available
|
void |
startBleAdvertising()
Starts ble advertising
|
void startBleAdvertising()
Settings.BleAdvertisementConfigEditor editBleAdConfig()
bolts.Task<Settings.BleAdvertisementConfig> readBleAdConfigAsync()
Settings.BleConnectionParametersEditor editBleConnParams()
bolts.Task<Settings.BleConnectionParameters> readBleConnParamsAsync()
Settings.BatteryDataProducer battery()
ActiveDataProducer powerStatus()
bolts.Task<java.lang.Byte> readCurrentPowerStatusAsync()
ActiveDataProducer chargeStatus()
bolts.Task<java.lang.Byte> readCurrentChargeStatusAsync()