Class: $.ProfileManager
- Inherits:
-
Toybox.Lang.Object
-
Toybox.Lang.Object
-
Overview
Constant Summary
Constant Variables
| Type | Name | Value | Since | Description |
|---|---|---|---|---|
| Type | AIR_QUALITY_CHARACTERISTIC | BluetoothLowEnergy.longToUuid(0xEF6802049B354933L,0x9B1052FFA9740042L) | ||
| Type | HUMIDITY_CHARACTERISTIC | BluetoothLowEnergy.longToUuid(0xEF6802039B354933L,0x9B1052FFA9740042L) | ||
| Type | PRESSURE_CHARACTERISTIC | BluetoothLowEnergy.longToUuid(0xEF6802029B354933L,0x9B1052FFA9740042L) | ||
| Type | TEMPERATURE_CHARACTERISTIC | BluetoothLowEnergy.longToUuid(0xEF6802019B354933L,0x9B1052FFA9740042L) | ||
| Type | THINGY_CONFIGURATION_SERVICE | BluetoothLowEnergy.longToUuid(0xEF6801009B354933L,0x9B1052FFA9740042L) | ||
| Type | THINGY_ENVIRONMENTAL_SERVICE | BluetoothLowEnergy.longToUuid(0xEF6802009B354933L,0x9B1052FFA9740042L) | ||
| Type | _envProfileDef | {:uuid=>THINGY_ENVIRONMENTAL_SERVICE,:characteristics=>[{:uuid=>TEMPERATURE_CHARACTERISTIC,:descriptors=>[BluetoothLowEnergy.cccdUuid()]},{:uuid=>PRESSURE_CHARACTERISTIC,:descriptors=>[BluetoothLowEnergy.cccdUuid()]},{:uuid=>HUMIDITY_CHARACTERISTIC,:descriptors=>[BluetoothLowEnergy.cccdUuid()]},{:uuid=>AIR_QUALITY_CHARACTERISTIC,:descriptors=>[BluetoothLowEnergy.cccdUuid()]}]} |
Instance Method Summary collapse
-
registerProfiles() as Void
Register the bluetooth profile.
Instance Method Details
registerProfiles() as Void
Register the bluetooth profile