readme.md updated

This commit is contained in:
Verkehrsrot 2019-03-31 20:50:29 +02:00
parent f9daf5a16f
commit 18261fa771

View File

@ -389,21 +389,21 @@ Note: all settings are stored in NVRAM and will be reloaded when device starts.
0x86 get time/date 0x86 get time/date
Device answers with it's local time/date on Port 2: Device answers with it's current time on Port 2:
bytes 1..4 = local time/date in UTC epoch seconds (LSB) bytes 1..4 = time/date in UTC epoch seconds (LSB)
byte 5 = TimeSource & TimeStatus, see below byte 5 = time source & status, see below
bits 0..3 timeSource bits 0..3 time source
0 = GPS 0x00 = GPS
1 = RTC 0x01 = RTC
2 = LORA 0x02 = LORA
3 = unsynched 0x03 = unsynched
bits 4..7 timeStatus bits 4..7 time status
0 = timeNotSet (never synched) 0x00 = timeNotSet (never synched)
1 = timeNeedsSync (last sync failed) 0x10 = timeNeedsSync (last sync failed)
2 = timeSet (synched) 0x20 = timeSet (synched)
0x87 set time/date 0x87 set time/date