Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Apr 27, 2024
1 parent 01aa454 commit ac133e4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ Meanwhile, refer to [BresserWeatherSensorTTN - README.md](https://github.com/mat

## Remote Configuration Commands / Status Requests via LoRaWAN

### Using Raw Data

| Command | Port | Downlink | Uplink |
| ----------------------------- | ---------- | ------------------------------------------------------------------------- | -------------- |
| CMD_GET_DATETIME | 0x86 (134) | 0x00 | unixtime[31:24]<br>unixtime[23:16]<br>unixtime[15:8]<br>unixtime[7:0]<br>rtc_source[7:0] |
Expand All @@ -120,6 +122,26 @@ Meanwhile, refer to [BresserWeatherSensorTTN - README.md](https://github.com/mat
| CMD_GET_BLE_ADDR | 0xC8 (200) | 0x00 | ble_addr0[47:40]<br>ble_addr0[39:32]<br>ble_addr0[31:24]<br>ble_addr0[23:15]<br>ble_addr0[16:8]<br>ble_addr0[7:0]<br>... |
| CMD_SET_BLE_ADDR | 0xC9 (201) | ble_addr0[47:40]<br>ble_addr0[39:32]<br>ble_addr0[31:24]<br>ble_addr0[23:15]<br>ble_addr0[16:8]<br>ble_addr0[7:0]<br>... | n.a. |

### Using the Javascript Uplink/Downlink Formatters

| Command | Downlink | Uplink |
| ----------------------------- | ------------------------------------------------------------------------- | -------------- |
| CMD_GET_DATETIME | {"cmd": "CMD_GET_DATETIME"} | unixtime[31:24]<br>unixtime[23:16]<br>unixtime[15:8]<br>unixtime[7:0]<br>rtc_source[7:0] |
| CMD_SET_DATETIME | unixtime[31:24]<br>unixtime[23:16]<br>unixtime[15:8] <br> unixtime[7:0] | n.a. |
| CMD_SET_SLEEP_INTERVAL | sleep_interval[15:8]<br>sleep_interval[7:0] | n.a. |
| CMD_SET_SLEEP_INTERVAL_LONG | sleep_interval_long[15:8]<br>sleep_interval_long[7:0] | n.a. |
| CMD_GET_LW_CONFIG | {"cmd": "CMD_GET_LW_CONFIG"} | sleep_interval[15:8]<br>sleep_interval[7:0]<br>sleep_interval_long[15:8]<br>sleep_interval_long[7:0] |
| CMD_GET_WS_TIMEOUT | {"cmd": "CMD_GET_WS_TIMEOUT"} | ws_timeout[7:0] |
| CMD_SET_WS_TIMEOUT | ws_timeout[7:0] | n.a. |
| CMD_RESET_RAINGAUGE | flags[7:0] | n.a. |
| CMD_GET_SENSORS_INC | {"cmd": "CMD_GET_SENSORS_INC"} | sensors_inc0[31:24]<br>sensors_inc0[23:15]<br>sensors_inc0[16:8]<br>sensors_inc0[7:0]<br>... |
| CMD_SET_SENSORS_INC | sensors_inc0[31:24]<br>sensors_inc0[23:15]<br>sensors_inc0[16:8]<br>sensors_inc0[7:0]<br>... | n.a. |
| CMD_GET_SENSORS_EXC | {"cmd": "CMD_GET_SENSORS_EXC"} | sensors_exc0[31:24]<br>sensors_exc0[23:15]<br>sensors_exc0[16:8]<br>sensors_exc0[7:0]<br>... |
| CMD_SET_SENSORS_EXC | sensors_exc0[31:24]<br>sensors_exc0[23:15]<br>sensors_exc0[16:8]<br>sensors_exc0[7:0]<br>... | n.a. |
| CMD_GET_BLE_ADDR | {"cmd": "CMD_GET_BLE_ADDR"} | ble_addr0[47:40]<br>ble_addr0[39:32]<br>ble_addr0[31:24]<br>ble_addr0[23:15]<br>ble_addr0[16:8]<br>ble_addr0[7:0]<br>... |
| CMD_SET_BLE_ADDR | ble_addr0[47:40]<br>ble_addr0[39:32]<br>ble_addr0[31:24]<br>ble_addr0[23:15]<br>ble_addr0[16:8]<br>ble_addr0[7:0]<br>... | n.a. |


| Parameter | Description |
| --------------------- | --------------------------------------------------------------------------- |
| <ws_timeout> | Weather sensor receive timeout in seconds; 0...255 |
Expand Down

0 comments on commit ac133e4

Please sign in to comment.