Properties
Private
Readonly
EVENT_TYPE_ID_
EVENT_TYPE_ID_: number = ...
Protected
Readonly
EVENT_TYPE_ID_INDEX
EVENT_TYPE_ID_INDEX: 1 = ...
Private
Readonly
LX_
LX_: number = ...
Private
Readonly
MESSAGE_TYPE_ID_
MESSAGE_TYPE_ID_: number = ...
Protected
Readonly
MESSAGE_TYPE_ID_INDEX
MESSAGE_TYPE_ID_INDEX: 0 = ...
Private
Readonly
NOTIFY_MODE_MAX_
NOTIFY_MODE_MAX_: number = ...
Private
Readonly
NOTIFY_MODE_MIN_
NOTIFY_MODE_MIN_: 0 = Brightness.NotifyMode.STOP
Readonly
UUIDS
UUIDS: { CHARACTERISTICS: { INDICATE: "72c90005-57a9-4d40-b746-534e22ec9f9e"; NOTIFY: "72c90003-57a9-4d40-b746-534e22ec9f9e"; WRITE: "72c90004-57a9-4d40-b746-534e22ec9f9e"; WRITE_WO_RESPONSE: "72c90002-57a9-4d40-b746-534e22ec9f9e" }; SERVICE_ID: "72c90001-57a9-4d40-b746-534e22ec9f9e" } = ...
Type declaration
-
CHARACTERISTICS: { INDICATE: "72c90005-57a9-4d40-b746-534e22ec9f9e"; NOTIFY: "72c90003-57a9-4d40-b746-534e22ec9f9e"; WRITE: "72c90004-57a9-4d40-b746-534e22ec9f9e"; WRITE_WO_RESPONSE: "72c90002-57a9-4d40-b746-534e22ec9f9e" }
-
INDICATE: "72c90005-57a9-4d40-b746-534e22ec9f9e"
-
NOTIFY: "72c90003-57a9-4d40-b746-534e22ec9f9e"
-
WRITE: "72c90004-57a9-4d40-b746-534e22ec9f9e"
-
WRITE_WO_RESPONSE: "72c90002-57a9-4d40-b746-534e22ec9f9e"
-
SERVICE_ID: "72c90001-57a9-4d40-b746-534e22ec9f9e"
onBatteryLevel
onBatteryLevel: null | ((battery: number) => void) = null
onSensorEvent
onSensorEvent: null | ((proximity: number, brightness: number, requestId: number) => void) = null
onStatusButtonPressed
onStatusButtonPressed: null | (() => void) = null
Static
Readonly
NotifyMode
NotifyMode: { ALWAYS: 32; ONCE: 16; STOP: 0; UPDATE_BRIGHTNESS: 8; UPDATE_PROXIMITY: 4 } = ...
Type declaration
-
ALWAYS: 32
-
ONCE: 16
-
STOP: 0
-
UPDATE_BRIGHTNESS: 8
-
UPDATE_PROXIMITY: 4
Battery level event