Commit Graph

71 Commits (ed87b53d50a511391b040fab57e81b566be8f345)

Author SHA1 Message Date
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
Jenkins nymea 2af5d1a759 Merge PR #43: Consolidate permit joining timer 2022-03-10 12:33:48 +01:00
Jenkins nymea edfe29775a Merge PR #35: Fix debug print for ZigbeeNetwork errors 2022-03-10 12:33:41 +01: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 daae851767 Fix debug print for ZigbeeNetwork errors 2022-01-30 14:03:11 +01:00
Michael Zanetti 14895fc559 Allow removing uninitialized nodes 2022-01-30 14:01:38 +01:00
Michael Zanetti 9782ad5eac Remove a duplicate debug print and fix some typos 2021-11-06 15:47:29 +01:00
Jenkins nymea db4961f2af Merge PR #17: Improve node removed behavior 2021-06-30 12:42:39 +02:00
Simon Stürz 76d43fc99e Improve node removed behavior 2021-05-11 09:00:13 +02:00
Simon Stürz 5072ad7c1e Add develco profile and manufacturer, implement manufacturer specific cluster methods, improve binary input cluster 2021-04-28 13:39:07 +02: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 94539c0d02 Add scene cluster basic structure 2020-12-11 18:06:43 +01:00
Simon Stürz 2893f39e61 Improve reachable refresh behaviour 2020-12-10 18:22:03 +01:00
Simon Stürz f57ce01664 Update node initialization and finish the initialization in any case with the given information 2020-12-09 17:20:50 +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 1eed81562a Fix initialization error due to timeout issue and improve debugging 2020-12-02 12:03:44 +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 cc725a9533 Improve debug output and add level cluster signals 2020-11-26 18:32:07 +01:00
Simon Stürz 61114fc773 Restructure error handling depnding on layer and add MAC layer errors to replies 2020-11-24 18:14:54 +01:00
Simon Stürz 0768903b07 Add group cluster and fix reply handling in NXP backend 2020-11-24 12:45:20 +01:00
Simon Stürz 28878adb73 Improve adapter monitor and skipp all virtual devices 2020-11-18 18:54:31 +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 008fd0c55b Rename to reachable and set state on messages received and prepare lqi request 2020-11-12 17:48:12 +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 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 b8b2b00e4f Replace Qt::endl for backwards compatibility 2020-10-13 12:17:39 +02:00
Simon Stürz ae306b2e77 Update to qt 5.15 and continue device implementation 2020-10-05 16:37:08 +02:00
Simon Stürz 5cc83bb956 Update database and add lqi and timestamp for nodes 2020-07-01 15:14:34 +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 cdd7a1a1aa Implement power configuration cluster 2020-06-13 21:18:01 +02:00
Simon Stürz 0992028a8a Rework entire uart communication flow and prepare level cluster command execution signals 2020-06-06 14:09:11 +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 74995ce401 Implement NWL Layer error handling 2020-05-30 16:30:39 +02:00
Simon Stürz c565a25be2 Fix endpoint initialization order and move back to sorted list 2020-05-29 16:23:09 +02:00
Simon Stürz 8105a9082b Add identify and iaszone cluster implementations 2020-05-29 13:55:00 +02:00