Properties
Private
Readonly
ANALOG_IN_EVENT_ID_
ANALOG_IN_EVENT_ID_: number = ...
Private
Readonly
ANALOG_IN_ID_
ANALOG_IN_ID_: number = ...
Private
Readonly
DIGITAL_IN_EVENT_ID_
DIGITAL_IN_EVENT_ID_: number = ...
Private
Readonly
DIGITAL_IN_ID_
DIGITAL_IN_ID_: number = ...
Private
Readonly
DIGITAL_OUT_ID_
DIGITAL_OUT_ID_: number = ...
DigitalPins
DigitalPins: { p1: boolean; p2: boolean; p3: boolean } = ...
Type declaration
-
p1: boolean
-
p2: boolean
-
p3: boolean
Protected
Readonly
EVENT_TYPE_ID_INDEX
EVENT_TYPE_ID_INDEX: 1 = ...
Private
Readonly
MESSAGE_TYPE_ID_
MESSAGE_TYPE_ID_: number = ...
Protected
Readonly
MESSAGE_TYPE_ID_INDEX
MESSAGE_TYPE_ID_INDEX: 0 = ...
Private
Readonly
PWM_ID_
PWM_ID_: 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"
Private
Readonly
V_OUT_ID_
V_OUT_ID_: number = ...
onAnalogInput
onAnalogInput: null | ((requestId: number, level: number, analogInputNotifyMode: number) => void) = null
onAnalogInputEvent
onAnalogInputEvent: null | ((level: number) => void) = null
onBatteryLevel
onBatteryLevel: null | ((battery: number) => void) = null
onDigitalInput
onDigitalInput: null | ((requestId: number, pin: number, state: number) => void) = null
onDigitalInputEvent
onDigitalInputEvent: null | ((pin: number, state: number) => void) = null
onDigitalOutput
onDigitalOutput: null | ((requestId: number, pin: number, state: number) => void) = null
onPwm
onPwm: null | ((requestId: number, level: number) => void) = null
onStatusButtonPressed
onStatusButtonPressed: null | (() => void) = null
onVOutput
onVOutput: null | ((requestId: number, vccState: number) => void) = null
Static
Readonly
AnalogInputEventCondition
AnalogInputEventCondition: { ABOVE_THRESHOLD: 17; BELOW_THRESHOLD: 34; NOT_NOTIFY: 0 } = ...
Type declaration
-
ABOVE_THRESHOLD: 17
-
BELOW_THRESHOLD: 34
-
NOT_NOTIFY: 0
Static
Readonly
AnalogInputNotifyMode
AnalogInputNotifyMode: { ALWAYS: 2; ONCE: 1; STOP: 0 } = ...
Type declaration
-
ALWAYS: 2
-
ONCE: 1
-
STOP: 0
Static
Readonly
DigitalInputState
DigitalInputState: { HIGH: 0; LOW: 1 } = ...
Static
Readonly
Pin
Pin: { P1: 0; P2: 1; P3: 2 } = ...
Static
Readonly
State
State: { HIGH_2_LOW: 2; LOW_2_HIGH: 1 } = ...
Type declaration
-
HIGH_2_LOW: 2
-
LOW_2_HIGH: 1
Static
Readonly
Vcc
Vcc: { OFF: 2; ON: 1 } = ...
Static
Readonly
VccState
VccState: { OFF: 0; ON: 1 } = ...
Analog input