Skip to content

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant