Data 91 (Motion Information)¶
The basic information of the motion sensor.
The frame format of the Data 91 unit is as follows:
For example (Total 7 bytes):
5B 05 00 00 02 00 01
Parts |
Fields |
Length (Byte) |
Range/Format |
Default |
|---|---|---|---|---|
ID |
Data ID |
1 |
5BH (91) |
5BH (91) |
Length |
Data Length |
1 |
00H or 05H |
|
Content |
Motion Status |
1 |
00H, 01H, 02H |
|
Current Duration |
2 |
0000H-FFFFH (*10 seconds) |
||
Previous Duration |
2 |
0000H-FFFFH (*10 seconds) |
Motion Status
The current motion status of the terminal.
00H - The terminal is motionless now.
01H - The terminal is being moved now.
02H - Unknown. The terminal is detecting motion now.
Current Duration
The duration of the current state. Expressed as a 16-bit unsigned integer and the unit is 10 seconds.
Previous Duration
The duration of the previous state. Expressed as a 16-bit unsigned integer and the unit is 10 seconds.
If the ‘Motion Status’ is 00H, it means that the previous state was 01H, and if it is 01H, it means that the previous state was 00H.