I supervajera wrote: Fri Apr 24, 2026 8:50 am Wczoraj dostałem odpowiedź na moje zgłoszenie błędu w obsłudze klastra OTA w bibliotece ZigBee Espressif:
Tym sposobem uzyskałem potwierdzenie mojego rozpoznania problemu a jednocześnie dowiedziałem się o fundamentalnej zmianie w tejże bibliotece - więcej informacji na ten temat zamieszczę w oddzielnym temacie.xieqinan
left a comment
(espressif/esp-zigbee-sdk#793)
It looks like for first request ZigBee library is cutting first 56 bytes (OTA header?) but Sonoff (and most other commercial devices) requires sending complete OTA file (including header) and because of that after 30 minutes of sending 300K file I'm getting INVALID OTA IMAGE error.
You are right. In v1.x, the stack checks and filters the OTA header and only outputs the image binary to the application via zb_ota_next_data_handler(). This may not meet certain use cases.
In v2.0, the OTA mechanism has been redesigned to provide the complete OTA file to the application. If you are interested on it, a related example has been provided for reference.
Mam przy okazji propozycję, jeśli chodzi o Ota urządzeń Zigbee.
Fajnie by było, gdyby dioda Led z c6 również zmieniała kolor , gdy następuję aktualizacja urządzenia.
Mógłby to być ten sam kolor, tylko np pulsująca
