diff --git a/README.md b/README.md index 2a24dec..d8bfefd 100644 --- a/README.md +++ b/README.md @@ -100,22 +100,22 @@ Meanwhile, refer to [BresserWeatherSensorTTN - README.md](https://github.com/mat ## Remote Configuration Commands / Status Requests via LoRaWAN -| Command | Port | Downlink | Uplink | -| ----------------------------- | ---- | ------------------------------------------------------------------------- | -------------- | -| CMD_GET_DATETIME | 0x86 | 0x00 | unixtime[31:24]
unixtime[23:16]
unixtime[15:8]
unixtime[7:0]
rtc_source[7:0] | -| CMD_SET_DATETIME | 0x88 | unixtime[31:24]
unixtime[23:16]
unixtime[15:8]
unixtime[7:0] | n.a. | -| CMD_SET_SLEEP_INTERVAL | 0xA8 | interval[15:8]
interval[7:0] | n.a. | -| CMD_SET_SLEEP_INTERVAL_LONG | 0xA9 | interval[15:8]
interval[7:0] | n.a. | -| CMD_GET_LW_CONFIG | 0xB1 | 0x00 | sleep_interval[15:8]
sleep_interval[7:0]
sleep_interval_long[15:8]
sleep_interval_long[7:0] | -| CMD_GET_WS_TIMEOUT | 0xC0 | 0x00 | ws_timeout[7:0] | -| CMD_SET_WS_TIMEOUT | 0xC1 | ws_timeout[7:0] | n.a. | -| CMD_RESET_RAINGAUGE | 0xC3 | flags[7:0] | n.a. | -| CMD_GET_SENSORS_INC | 0xC4 | 0x00 | sensors_inc0[31:24]
sensors_inc0[23:15]
sensors_inc0[16:8]
sensors_inc0[7:0]
... | -| CMD_SET_SENSORS_INC | 0xC5 | sensors_inc0[31:24]
sensors_inc0[23:15]
sensors_inc0[16:8]
sensors_inc0[7:0]
... | n.a. | -| CMD_GET_SENSORS_EXC | 0xC6 | 0x00 | sensors_exc0[31:24]
sensors_exc0[23:15]
sensors_exc0[16:8]
sensors_exc0[7:0]
... | -| CMD_SET_SENSORS_EXC | 0xC7 | sensors_exc0[31:24]
sensors_exc0[23:15]
sensors_exc0[16:8]
sensors_exc0[7:0]
... | n.a. | -| CMD_GET_BLE_ADDR | 0xC8 | 0x00 | ble_addr0[47:40]
ble_addr0[39:32]
ble_addr0[31:24]
ble_addr0[23:15]
ble_addr0[16:8]
ble_addr0[7:0]
... | -| CMD_SET_BLE_ADDR | 0xC9 | ble_addr0[47:40]
ble_addr0[39:32]
ble_addr0[31:24]
ble_addr0[23:15]
ble_addr0[16:8]
ble_addr0[7:0]
... | n.a. | +| Test Status | Command | Port | Downlink | Uplink | +| ----------- | ----------------------------- | ---- | ------------------------------------------------------------------------- | -------------- | +| [ ] | CMD_GET_DATETIME | 0x86 | 0x00 | unixtime[31:24]
unixtime[23:16]
unixtime[15:8]
unixtime[7:0]
rtc_source[7:0] | +| [ ] | CMD_SET_DATETIME | 0x88 | unixtime[31:24]
unixtime[23:16]
unixtime[15:8]
unixtime[7:0] | n.a. | +| [ ] | CMD_SET_SLEEP_INTERVAL | 0xA8 | interval[15:8]
interval[7:0] | n.a. | +| [ ] | CMD_SET_SLEEP_INTERVAL_LONG | 0xA9 | interval[15:8]
interval[7:0] | n.a. | +| [ ] | CMD_GET_LW_CONFIG | 0xB1 | 0x00 | sleep_interval[15:8]
sleep_interval[7:0]
sleep_interval_long[15:8]
sleep_interval_long[7:0] | +| [ ] | CMD_GET_WS_TIMEOUT | 0xC0 | 0x00 | ws_timeout[7:0] | +| [ ] | CMD_SET_WS_TIMEOUT | 0xC1 | ws_timeout[7:0] | n.a. | +| [ ] | CMD_RESET_RAINGAUGE | 0xC3 | flags[7:0] | n.a. | +| [ ] | CMD_GET_SENSORS_INC | 0xC4 | 0x00 | sensors_inc0[31:24]
sensors_inc0[23:15]
sensors_inc0[16:8]
sensors_inc0[7:0]
... | +| [ ] | CMD_SET_SENSORS_INC | 0xC5 | sensors_inc0[31:24]
sensors_inc0[23:15]
sensors_inc0[16:8]
sensors_inc0[7:0]
... | n.a. | +| [ ] | CMD_GET_SENSORS_EXC | 0xC6 | 0x00 | sensors_exc0[31:24]
sensors_exc0[23:15]
sensors_exc0[16:8]
sensors_exc0[7:0]
... | +| [ ] | CMD_SET_SENSORS_EXC | 0xC7 | sensors_exc0[31:24]
sensors_exc0[23:15]
sensors_exc0[16:8]
sensors_exc0[7:0]
... | n.a. | +| [ ] | CMD_GET_BLE_ADDR | 0xC8 | 0x00 | ble_addr0[47:40]
ble_addr0[39:32]
ble_addr0[31:24]
ble_addr0[23:15]
ble_addr0[16:8]
ble_addr0[7:0]
... | +| [ ] | CMD_SET_BLE_ADDR | 0xC9 | ble_addr0[47:40]
ble_addr0[39:32]
ble_addr0[31:24]
ble_addr0[23:15]
ble_addr0[16:8]
ble_addr0[7:0]
... | n.a. |