From 0b0542f09156a9b1d8336b42e731f3f62df05dde Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sun, 23 Jan 2022 21:11:16 +0100 Subject: [PATCH] fix readme.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0994689a..1cf6607c 100644 --- a/README.md +++ b/README.md @@ -325,21 +325,21 @@ Hereafter described is the default *plain* format, which uses MSB bit numbering. **Port #3:** Device configuration query result - byte 1: Lora SF (7..12) [default 9] + byte 1: Lora DR (0..15, see rcommand 0x05) [default 5] byte 2: Lora TXpower (2..15) [default 15] byte 3: Lora ADR (1=on, 0=off) [default 1] byte 4: Screensaver status (1=on, 0=off) [default 0] byte 5: Display status (1=on, 0=off) [default 0] byte 6: Counter mode (0=cyclic unconfirmed, 1=cumulative, 2=cyclic confirmed) [default 0] - bytes 7-8: RSSI limiter threshold value (negative) [default 0] - byte 9: Lora Payload send cycle in seconds/2 (0..255) [default 120] + bytes 7-8: RSSI limiter threshold value (negative, MSB) [default 0] + byte 9: Scan and send cycle in seconds/2 (0..255) [default 120] byte 10: Wifi channel hopping interval in seconds/100 (0..255), 0 means no hopping [default 50] - byte 11: Bluetooth channel switch interval in seconds/100 (0..255) [efault 10] + byte 11: Bluetooth channel switch interval in seconds/100 (0..255) [default 10] byte 12: Bluetooth scanner status (1=on, 0=0ff) [default 1] byte 13: Wifi antenna switch (0=internal, 1=external) [default 0] - byte 14: count randomizated MACs only (0=disabled, 1=enabled) [default 1] + byte 14: 0 (reserved) byte 15: RGB LED luminosity (0..100 %) [default 30] - byte 16: 0 (reserved) + byte 16: Payloadmask (Bitmask, 0..255, see rcommand 0x14) byte 17: 0 (reserved) bytes 18-28: Software version (ASCII format, terminating with zero) @@ -576,10 +576,10 @@ Send for example `83` `86` as Downlink on Port 2 to get battery status and time/ 0x03 = unsynched 0x04 = set (source unknown) - bits 4..7 time status - 0x00 = unknown - 0x01 = time needs sync - 0x02 = time synched + bits 4..7 esp32 sntp time status + 0x00 = SNTP_SYNC_STATUS_RESET + 0x01 = SNTP_SYNC_STATUS_COMPLETED + 0x02 = SNTP_SYNC_STATUS_IN_PROGRESS 0x87 sync time/date