Motus Reference Manual
Page 112 of 146
Version 1.1
29/11/2019
16.9.1.4
Unix Time Seconds
This field provides UTC time in seconds since January 1, 1970 including leap seconds.
16.9.1.5
Microseconds
This field provides the sub-second component of time. It is represented as
microseconds since the last second. Minimum value is 0 and maximum value is
999999.
16.9.2
Unix Time Packet
Unix Time Packet
Packet ID
21
Length
8
Field
#
Bytes
Offset
Data
Type
Size
Description
1
0
u32
4
Unix time seconds, see section 16.9.1.4
2
4
u32
4
Microseconds, see section 16.9.1.5
Table 47: Unix time packet
16.9.3
Formatted Time Packet
Formatted Time Packet
Packet ID
22
Length
14
Field
#
Bytes
Offset
Data
Type
Size
Description
1
0
u32
4
Microseconds
2
4
u16
2
Year
3
6
u16
2
Year day, 0 - 365
4
8
u8
1
Month, 0 - 11
5
9
u8
1
Month Day, 1 - 31
6
10
u8
1
Week Day, 0 - 6
7
11
u8
1
Hour, 0 - 23
8
12
u8
1
Minute, 0 - 59
9
13
u8
1
Second, 0 - 59
Table 48: Formatted time packet
16.9.4
Status Packet
Status Packet