Commit graph

5 commits

Author SHA1 Message Date
Matthew Dawson
d3bcc13749
Fix battery quantity/size reporting
The API for reporting information requires a pointer to the data value,
and cannot deal with a constant directly.  The current quantity/size
returned by the device are random values from memory.

Instead move these values into the prst_batt_attrs_t struct and
set their values in prst_zb_attrs_init.
2023-02-02 00:43:13 -05:00
rbaron
8eb54106d5 Add illuminance cluster & reporting 2022-12-10 10:47:16 +01:00
rbaron
cb6ed73691 Add battery percentage computation 2022-12-09 19:02:55 +01:00
rbaron
676b525bd9 Reading and sending real soil moisture works! 2022-12-07 22:22:41 +01:00
rbaron
01bb9da2a4 Cleanups 2022-12-07 21:43:30 +01:00
Renamed from code/nrf-connect/samples/zigbee/src/attrs.h (Browse further)