Properties
Private
Readonly
EVENT_TYPE_ID_
EVENT_TYPE_ID_: number = ...
Protected
Readonly
EVENT_TYPE_ID_INDEX
EVENT_TYPE_ID_INDEX: 1 = ...
Private
Readonly
HUMIDITY_MAX_
HUMIDITY_MAX_: number = ...
Private
Readonly
HUMIDITY_MIN_
HUMIDITY_MIN_: 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_: number = TempHumid.NotifyMode.STOP
Private
Readonly
TEMPERATURE_MAX_
TEMPERATURE_MAX_: number = ...
Private
Readonly
TEMPERATURE_MIN_
TEMPERATURE_MIN_: number = ...
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 | ((temperature: number, humidity: number, requestId: number) => void) = null
onStatusButtonPressed
onStatusButtonPressed: null | (() => void) = null
Static
Readonly
EmitCondition
EmitCondition: { ABOVE_UPPER_OR_ABOVE_LOWER: 1; ABOVE_UPPER_OR_BELOW_LOWER: 0; BELOW_UPPER_OR_ABOVE_LOWER: 17; BELOW_UPPER_OR_BELOW_LOWER: 16 } = ...
Type declaration
-
ABOVE_UPPER_OR_ABOVE_LOWER: 1
-
ABOVE_UPPER_OR_BELOW_LOWER: 0
-
BELOW_UPPER_OR_ABOVE_LOWER: 17
-
BELOW_UPPER_OR_BELOW_LOWER: 16
Static
Readonly
NotifyMode
NotifyMode: { ALWAYS: 32; EMIT_HUMIDITY: 2; EMIT_TEMPERATURE: 1; ONCE: 16; STOP: 0; UPDATE_HUMIDITY: 8; UPDATE_TEMPERATURE: 4 } = ...
Type declaration
-
ALWAYS: 32
-
EMIT_HUMIDITY: 2
-
EMIT_TEMPERATURE: 1
-
ONCE: 16
-
STOP: 0
-
UPDATE_HUMIDITY: 8
-
UPDATE_TEMPERATURE: 4
Battery level event