Commit Graph

14 Commits (landing-silo)

Author SHA1 Message Date
Simon Stürz 3798cbb380 Update license text and add SPDX identifier 2025-11-14 15:21:23 +01:00
Simon Stürz 9ccaff3c2f Add Qt6 support 2025-08-21 15:26:39 +02:00
Michael Zanetti 22837865f1 Fixes reconnecting the ZigBee controller after a reset during runtime
Resets may occur by unplugging the stick or calling a softReset() from
the software side.

Additionally resets the stick when 5 subsequent timeouts happen
as there are firmwares of the CC2652 available which tend to
crash occationally.
2022-12-30 20:49:45 +01:00
jenkins 16b9ea03eb Merge PR #72: Register the OTA server cluster on the TI backend 2022-10-17 11:20:04 +02:00
jenkins 705bf28cc3 Merge PR #71: Silence a warning about unhandled callbacks 2022-10-17 11:20:02 +02:00
Michael Zanetti 7ebe593379 Register the OTA server cluster on the TI backend
This is required by some devices (at least Tradfri) in order to
query us for images.
2022-10-15 01:28:43 +02:00
Michael Zanetti f0c7172755 Silence a warning about unhandled callbacks
The firmware provides parsed messages for those responses but
we don't use them as nymea-zigbee parses this on its own.
2022-10-14 22:40:35 +02:00
Simon Stürz 2aa22ee262 Update all debug operators and make use of state saver 2022-10-13 12:48:43 +02:00
Michael Zanetti 23f53f38ee Fix permit joining in deconz backend
The router broadcast address 0xFFFC is not a group addres, but a
"regular" address. Setting the destinationAddressMode to GroupAddress
caused the message to not be broadcastet and permit joining was only
enabled on the coordinator.

This caused mainly the issue that joining a network would not work
if the coordinator is out of reach.
In addition to that, there are quite a bit of end devices out there
which behave badly in finding new parents and will stick to the node
they joined in the first place forever, causing them to have bad
signal if further away from the coordinator, even though there
would be routers with much better LQI.

Additionally it fixes a permit joining issue in the TI backend which would
prevent a call to setPermitJoining(0) to explicitly allow joining
only on the coordinator.

The change of radius from 10 to 30 probably isn't needed for 99% of the
networks, however, it may still help for that one percent that does
indeed have a network depth of > 10. Looking at other implementations
out there, 30 seems to be the common sense.
2022-09-10 20:12:17 +02:00
jenkins 2883080413 Merge PR #55: Fix a crash if the controller takes too long to start 2022-06-30 15:03:57 +02:00
Michael Zanetti e9d594ee5b Fix a crash if the controller takes too long to start
This may happen on very rare occations after a nymea restart
if the controller is taking too long to initialize but still succeeds
in the end. Also increases the timeout for the procedure.
2022-06-08 23:30:05 +02:00
Michael Zanetti e0bf02b115 Fix a debug message 2022-05-12 17:11:51 +02:00
Michael Zanetti 961008027d Consolidate permit joining timer
Starting/stopping the permit joining duration timer is not something
each backend should do on it's own. So making the timer a private
member of ZigbeeNetwork and taking control over it internally.

Also reduce some logic about the remaining duration by merging the
related methods into one and hiding the "remaining" duration from
backend implementations completely.
2022-03-07 11:22:59 +01:00
Michael Zanetti b84f37e7d8 Add support for TI z-Stack based adapters 2022-03-07 11:22:05 +01:00