Commit Graph

48 Commits (fix-qt-6.10-building)

Author SHA1 Message Date
Simon Stürz 3798cbb380 Update license text and add SPDX identifier 2025-11-14 15:21:23 +01:00
Michael Zanetti 5b7ac09236 Rework the reachable refreshing
This decouples the cyclic refreshing of reachability from the
manual reading of the LQI tables:

Changes the reachable refresh to only poll once a minute, cycling
devices that need polling. Also checking for reachable will now
only read the LQI table. Also removes the coordinator node from
the cyclic checks.

In case a manual refresh is triggered, both LQI and RTG tables
will be read of all non-sleepy nodes, including the coordinator
and without any delays in between polls.
2022-12-18 22:52:17 +01:00
Michael Zanetti 33d3ad10e9 Add API to interact with bindings 2022-10-13 10:11:11 +02:00
Michael Zanetti acfd73c271 Obtain LQI neighbor and routing tables from the network 2022-10-13 10:10:57 +02:00
Michael Zanetti 4f63ae01c0 Fix permit joining duration/remaining signals
* Prevent resetting the duration repeatedly by not calling setPermitJoiningState
in the timer any more
* Added signal emissions for when remaining changes in an unexpected manner.
2022-04-23 23:32:35 +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
Simon Stürz 16d4bfa0e0 Add serialnumber member to network class and extend deconz backend rectry range 2020-12-18 15:35:32 +01:00
Simon Stürz e2d5910e30 Fix deconz init interrupion due to timeout or uart flickering and retry 3 times before giving up 2020-12-14 18:49:24 +01:00
Simon Stürz 86db15b8a1 Improve reachable handling and buffered message handling 2020-12-14 14:15:52 +01:00
Simon Stürz 2893f39e61 Improve reachable refresh behaviour 2020-12-10 18:22:03 +01:00
Simon Stürz 2ed1487053 Handle network address changes and remove unrecognized nodes from the network once and for all if they show up again 2020-12-09 13:33:03 +01:00
Simon Stürz 40d6fdaa90 Move common data process mechanism to network base class 2020-12-09 10:53:33 +01:00
Simon Stürz 3997b5a5de Make udev optional and provide basic cluster information in node object 2020-12-04 14:15:35 +01:00
Simon Stürz 4e8254fcb9 Add network node evaluation and readd node if nwk address changed 2020-11-30 17:44:12 +01:00
Simon Stürz 5c3470e9d3 Update out of spec cluster handling and fix debian control 2020-11-16 12:11:35 +01:00
Simon Stürz af26efac17 Add pressure cluster and improve nxp backend APS handling 2020-11-11 15:50:56 +01:00
Michael Zanetti 40512509ae Fix some typos 2020-11-11 14:43:26 +01:00
Michael Zanetti 8225687369 Force less includes on users of the lib 2020-11-03 23:39:54 +01:00
Simon Stürz e46630f9e2 Rework permit join mechanism and remove infinit joining 2020-11-02 15:14:22 +01:00
Simon Stürz 3d62162f5e Improve debug prints and rename adapter members 2020-11-01 22:17:59 +01:00
Simon Stürz d64b4711d1 Minor changes for the nymea integration and add network destroy 2020-10-29 18:13:23 +01:00
Simon Stürz db146a38d0 Remove settings and leave that to the stack using application 2020-10-29 11:45:28 +01:00
Simon Stürz 6ffd8a61db Introduce adapter and improve network manager 2020-10-28 09:56:46 +01:00
Simon Stürz 7918d4de2d Implement initially flashed property and reqork update provider 2020-10-24 11:08:41 +02:00
Simon Stürz 9483610386 Implement auto update mechanism for the nxp controller and initial flash if communication is not possible 2020-10-23 09:53:35 +02:00
Simon Stürz ed5517fbf1 Implement reply timeout and restructure uart communication queue 2020-06-30 16:49:09 +02:00
Simon Stürz 8f1043ba9f Implement lqi updating of nodes and finishe on/off and level cluster 2020-06-14 14:39:10 +02:00
Simon Stürz 275e4c8b97 Implement color control cluster and improve uart communication 2020-06-05 18:58:11 +02:00
Simon Stürz b3f5a13548 Move entirely to db storage and fix attribute loading 2020-06-05 13:11:33 +02:00
Simon Stürz 5085487bda Implement first attempt for network database loading and saving 2020-06-04 21:58:21 +02:00
Simon Stürz 80d4b1416e Restructure the descriptor handling and implement level control cluster server side 2020-06-03 19:50:47 +02:00
Simon Stürz 029ca76bae Make basic node adding mechanism work 2020-05-20 19:54:58 +02:00
Simon Stürz 7cdf772b1a Start implementing clusters 2020-05-06 12:33:26 +02:00
Simon Stürz 882023198a Fix indication matching and rely handling in network instance 2020-04-13 13:46:11 +02:00
Simon Stürz 118cdedc6a Implement first ZDO call 2020-04-08 21:34:05 +02:00
Simon Stürz 4472700160 First version of deconz network start procedure and factory reset 2020-04-07 15:41:24 +02:00
Simon Stürz 6449654820 Introduce channel mask class and continue deCONZ UART protocol 2020-04-05 16:13:30 +02:00
Simon Stürz dbdb606734 Add firmware and continue controler function implementation 2020-03-08 22:56:04 +01:00
Simon Stürz 080e89cf94 Restore basic node adding and start node initialization 2020-02-28 17:28:49 +01:00
Simon Stürz 7c7ba4f13a Restored basic network starting and resetting 2020-02-28 11:41:03 +01:00
Simon Stürz 899ad4e3b9 Continue restructuring and reach compilable state 2020-02-27 21:53:53 +01:00
Simon Stürz f870c705af Begin restructuring for abstraction 2020-02-27 19:08:58 +01:00
Michael Zanetti 3593f9d02b Update copyright headers 2020-01-23 00:21:06 +01:00
Simon Stürz 8de27cec12 Fix network saving/loading and add basic nodes connected mechanism 2019-05-17 00:15:07 +02:00
Simon Stürz 7745f09581 Add cluster and attribute base classes and improve node initialization 2019-05-16 02:54:17 +02:00
Simon Stürz 2922a87449 Improve startup procedure and node creation mechanism 2019-05-14 21:27:07 +02:00
Simon Stürz 0abeaa197b Finish initalization phase of NXP network manager 2019-05-13 18:26:32 +02:00
Simon Stürz 128763b5cc Make basic network start working 2019-05-09 18:39:10 +02:00