Skip to content

Enhanced firmware OTA update#98

Merged
samson0v merged 4 commits intothingsboard:masterfrom
LeoGranierWiifor:feature/OTA_update
Mar 25, 2026
Merged

Enhanced firmware OTA update#98
samson0v merged 4 commits intothingsboard:masterfrom
LeoGranierWiifor:feature/OTA_update

Conversation

@LeoGranierWiifor
Copy link
Contributor

Hi everyone,

Previously, the FOTA (Firmware Over-The-Air) feature was implemented only as an internal example and was not accessible to users.

With this PR, the Firmware OTA update functionality is now properly exposed to users through the on_firmware_received callback. Users can assign their own function to this callback, which will be triggered when a new firmware is received. This allows for custom handling of the firmware update process.
Users can also report the update status using the update_firmware_info method for better control over the update process.

Additionally, I’ve removed the dummy checksum failure from the library code and moved it to the example. This keeps the core library clean and avoids misleading behavior during actual use.

Feedback is very welcome—please let me know if you have suggestions for improvement or see any potential issues.

Best regards,
Leo Granier
Wiifor

@samson0v
Copy link
Contributor

Hi @LeoGranierWiifor, thanks for your contribution!
I will merge your PR.

@samson0v samson0v changed the title Feature - Firmware OTA Update exposed to user Enhanced firmware OTA update Mar 25, 2026
@samson0v samson0v merged commit 156f059 into thingsboard:master Mar 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants