Skip to content

12: Close

Explicit indicator for a connection about to close. Can be used to differentiate between deliberate and accidental disconnections.

Payload

FieldNameDescriptionTypeUnit
6Arm StateArm state of the device at the time of close. Only values 0 and 1 are used presently;
all other values are reserved.
Primary use is with the "Wake On Move" setting (config key ArmingMode = 50),
so that the remote can determine if the device is "sleeping" (armed) or "off" (disarmed).
0 = disarmed/off, 1 = armed/sleeping.
uint8

Examples

Close with device and message IDs
A close sent from device 123456, using message ID 1002
Basic

Code

For convenience, the following constants can be used to reference this message type.