Commit graph

10 commits

Author SHA1 Message Date
rbaron
509350457f [ZigBee sample] Introduce debug counters
In the effort to increse reliability of the Zigbee sample, #126 and #130
introduced handling for possibly rare, hard-to-debug events that may be
occurring. While these changes seem to help in practive, we don't know
exactly how often, if ever, they are triggered.

This PR introduces debug_counters in hope to add some visilibty in these
hard-to-debug, rare conditions.

Calling `prst_debug_counters_increment("some_counter")` will increment a
value stored in flash. These values are then dumped via logging when the
device boots. Moving forward we can also consider exposing these values
via a ZigBee cluster.
2023-06-07 08:08:34 +02:00
Matthew Dawson
af47848b80
Update Zigbee example to work with SDK 2.2.0
The new SDK requires 802.15.4 to be enabled in the board DTS file.

Also disable IPv6 explicitly to avoid compile errors related to its
network stack, since it is not used currently.

Closes #94
2023-01-22 02:51:24 -05:00
rbaron
5d25499ae1 [zb] Implement double-reset factory resetting method 2022-12-27 19:22:01 +01:00
Ole Odendahl
0933c4a2a6
Fixed default sleep duration in Kconfig to 600s.
Removed specific Kconfig values from prj*.conf files.
2022-12-18 16:57:50 +01:00
Ole Odendahl
891a63a1b3
Added separate debug config to better separate flags during development. 2022-12-16 13:15:51 +01:00
rbaron
3c2094db2d Add GitHub action 2022-12-09 20:01:46 +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
f090b25a2c Got manufacturer data to show as "b-parasite" in zigbee2mqtt 2022-12-07 20:10:52 +01:00
rbaron
f05d1f8e3b Zigbee sample works with nRF52840dk + zigbee2mqtt 2022-12-07 20:10:51 +01:00