www.rovingnetworks.com
Version 1.0r 9/21/2012
60
RN -W IFLYCR -U M
TIME STAMPING PACKETS
You can use the time stamping feature to append 8 bytes to a TCP or UDP packet automatically. The
set ip flags 0x87
command enables the time stamp and keeps other default settings). The time stamp bits from MSB to LSB are:
User’s TCP or UDP packet data
63..56
55..48
47..40
39..32
31..24
23..16
15..8
7..0
The 8 bytes represents the 64-bit raw value of the real-time clock register. The data is appended before calculating the
TCP checksum so that the data passes through the TCP stack correctly. This register counts at 32,768 Hz. If the
timeserver function is enabled, the RTC should accurately reflect the real time. This register also counts when the module
is in sleep mode.