9 Commits

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
ac7972df35 Complete the OTA cluster implementation 2022-10-12 12:17:30 +02:00
Michael Zanetti
c20d14b793 Fix a crash when ZDO requests time out 2022-04-23 12:07:20 +02:00
Michael Zanetti
806065ff5c Timeout ZDO replies
I've been observing devices that won't reply to ZDO node descriptor requests,
at least not on the first attempt as well as out-of-spec devices which claim
to have an endpoint x but then won't reply on getting the endpoint descriptor.

I have a Lumi (lumi.sensor_switch.aq2) button here which allows to reproduce
both of those. It will never reply on the first attemt.

Anyhow, it happens that the ZDO, waiting on the data indication never finishes
because there does not seem to be a timeout connected to it and it fails initialisation.
Adding a timeout, the code retries and it seems to succeed on the second attempt.
2022-03-07 12:07:40 +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
74995ce401 Implement NWL Layer error handling 2020-05-30 16:30:39 +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