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
Protocol
3
3
Length
270
27 bytes
Type
120
12 (Close)
Header Count
20
2
Header Types
12
1, 2
Message ID
4234300
1002
Client ID
864226100000
123456
Payload Count
00
0
Checksum
151174
44695
Basic
Protocol
3
3
Length
110
11 bytes
Type
120
12 (Close)
Header Count
00
0
Payload Count
00
0
Checksum
8240
61448

Code ​

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