From e6ac6c997383e0cc888ee47c04b723e5b50080a0 Mon Sep 17 00:00:00 2001 From: Matthias Prinke Date: Tue, 4 Jun 2024 07:14:25 +0200 Subject: [PATCH] Added CMD_GET_SENSORS_STAT --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9ad5885..f6a9a5c 100644 --- a/README.md +++ b/README.md @@ -404,6 +404,11 @@ Many software parameters can be defined at compile time, i.e. in [BresserWeather | \ | Bitmap for enabling 1-Wire sensors; each bit position corresponds to an index | | \ | Bitmap for enabling analog input channels; each bit position corresponds to a channel | | \ | Bitmap for enabling digital input channels in a broader sense — GPIO, SPI, I2C, UART, ... | +| | Bitmap for Bresser sensor type \ battery status; each bit position corresponds to a channel | +| | Bitmap for 1-Wire sensor status; each bit position corresponds to an index | +| | Bitmap for analog input status; each bit position corresponds to a channel | +| | Bitmap for digital input channel status | +| | Bitmap for BLE sensor battery status | > [!HINT] > See [Payload Configuration](#payload-configuration) for more details! @@ -435,6 +440,7 @@ Many software parameters can be defined at compile time, i.e. in [BresserWeather | CMD_GET_WS_TIMEOUT | 0xC0 (192) | 0x00 | ws_timeout[7:0] | | CMD_SET_WS_TIMEOUT | 0xC1 (193) | ws_timeout[7:0] | n.a. | | CMD_RESET_RAINGAUGE | 0xC3 (195) | flags[7:0] | n.a. | +| CMD_GET_SENSORS_STAT | 0xD0 (208) | 0x00 | type00_st[7:0]
type01_st[7:0]
...
type15_st[7:0]
onewire_st[15:8]
onewire_st[7:0]
analog_st[15:8]
analog_st[7:0]
digital_st[31:24]
digital_st[23:16]
digital_st[15:8]
digital_st[7:0]
ble_st[15:8]
ble_st[7:0] | | CMD_GET_SENSORS_INC | 0xC4 (196) | 0x00 | sensors_inc0[31:24]
sensors_inc0[23:15]
sensors_inc0[16:8]
sensors_inc0[7:0]
... | | CMD_SET_SENSORS_INC | 0xC5 (197) | sensors_inc0[31:24]
sensors_inc0[23:15]
sensors_inc0[16:8]
sensors_inc0[7:0]
... | n.a. | | CMD_GET_SENSORS_EXC | 0xC6 (198) | 0x00 | sensors_exc0[31:24]
sensors_exc0[23:15]
sensors_exc0[16:8]
sensors_exc0[7:0]
... | @@ -478,6 +484,7 @@ Many software parameters can be defined at compile time, i.e. in [BresserWeather | CMD_GET_WS_TIMEOUT | {"cmd": "CMD_GET_WS_TIMEOUT"} | {"ws_timeout": } | | CMD_SET_WS_TIMEOUT | {"ws_timeout": } | n.a. | | CMD_RESET_RAINGAUGE | {"reset_flags": } | n.a. | +| CMD_GET_SENSORS_STAT | {"cmd": "CMD_GET_SENSORS_STAT"} | "sensor_status": {"ble": , "bresser": [, ..., ]} | | CMD_GET_SENSORS_INC | {"cmd": "CMD_GET_SENSORS_INC"} | {"sensors_inc": [, ..., ]} | | CMD_SET_SENSORS_INC | {"sensors_inc": [, ..., ]} | n.a. | | CMD_GET_SENSORS_EXC | {"cmd": "CMD_GET_SENSORS_EXC"} | {"sensors_exc": [, ..., ]} |