Packet Timer Period Packet
Packet Timer Period Packet | ||||
---|---|---|---|---|
Packet ID | 180 | |||
Length | 4 | |||
Read / Write | Read / Write | |||
Field # | Bytes Offset | Data Type | Size | Description |
1 | 0 | u8 | 1 | Permanent |
2 | 1 | u8 | 1 | UTC Synchronisation |
3 | 2 | u16 | 2 | Packet Timer Period |
Packet Timer Period Packet
UTC Synchronisation
This is a boolean value that determines whether or not the packet timer is synchronised with UTC time, with zero for disabled and one for enabled. For UTC Synchronisation to be enabled the packet timer period must multiply into 1000000 evenly. For example if the packet timer period is 10000 (10 ms), 1000000/10000 = 100 which is valid for UTC synchronisation. If the packet timer period is 15000 (15 ms), 1000000/15000 = 66.6666 which is not valid for UTC synchronisation. To get the rate, use the following formula:
Packet Timer Rate = 1000000/(Packet Timer Period) Hz
Packet Timer Period
This is a value in microseconds that sets the master packet timer period. The minimum value is 1000 (1 ms) or 1000 Hz and the maximum value is 65000 (65 ms) or 15.38 Hz. The packet timer period must be in increments of 1000.