Commit Graph

50 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
Simon Stürz 9ccaff3c2f Add Qt6 support 2025-08-21 15:26:39 +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
Simon Stürz 7acb35d11c Fix release file parsing and allow multiple release files as list 2022-08-09 14:25:45 +02:00
jenkins 3bd8787e41 Merge PR #54: Make NXP update provider independent from the chip module type 2022-06-07 23:06:20 +02:00
Simon Stürz 874c55f809 Make NXP update provider independent from the chip module type 2022-05-17 14:55:34 +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 9782ad5eac Remove a duplicate debug print and fix some typos 2021-11-06 15:47:29 +01:00
Simon Stürz 2edfaa402a Fix buffered message clean up on finished 2020-12-15 09:37:42 +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 b65386be19 Process firmware ACK packages for NXP networking 2020-12-14 15:04:52 +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 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 72150b6bfb Make use of TX options in the NXP backend and send permit join to short address broadcast, not group 2020-12-03 10:44:31 +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 e245f7c845 Introduce binding management and cleaning 2020-11-25 13:06:31 +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 6f04230028 Check for offline in network requests, not for running to allow initial requests during network start 2020-11-19 13:51:18 +01:00
Simon Stürz 4b7e6a0ddb Return error if zigbee network is not online yet and fix crash if reply is already finished before getting a response 2020-11-19 11:11:25 +01:00
Simon Stürz 4eafe285b0 Clean up clusters and implement default get methods for now 2020-11-12 13:27:37 +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 a9d55b18fb Clean up debug prints from update provider handler 2020-10-24 11:19:21 +02:00
Simon Stürz 7918d4de2d Implement initially flashed property and reqork update provider 2020-10-24 11:08:41 +02:00
Simon Stürz 304de13c92 Revoce QOverload for older Qt versions 2020-10-23 10:21:00 +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 5f2560d380 Fix serial port error declaration for older qt versions 2020-10-21 08:39:35 +02:00
Simon Stürz 0847bb35a5 Fix serial port error meta type 2020-10-20 19:28:53 +02:00
Simon Stürz 86a5579ff8 Basic networking working with NXP modem firmware 2020-10-20 16:37:32 +02:00
Simon Stürz a3256af29d Continue NXP uart integrations and finish basic network handling 2020-10-14 18:04:11 +02:00
Simon Stürz b8b2b00e4f Replace Qt::endl for backwards compatibility 2020-10-13 12:17:39 +02:00
Simon Stürz f900420470 Implement up to start network for nxp 2020-10-13 11:56:53 +02:00
Simon Stürz e00a1ffea0 Implement basic initialization of NXP network 2020-10-07 14:43:17 +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 40ce1667c6 Continue with uart protocol 2020-09-30 10:48:25 +02:00
Simon Stürz 9ef73e407b Test get version command for initial communication tests 2020-09-25 13:42:55 +02:00
Simon Stürz 1d3eb034e4 Add basic structure for nxp backend 2020-09-24 17:26:31 +02:00
Simon Stürz 8e7af1f5e8 Add zigbee interface for NXP modem controller 2020-09-24 15:55:08 +02:00
Simon Stürz 4e897686bb Implement basic cluster comands and commuication 2020-05-25 22:25:49 +02:00