Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: local firmware update #136

Open
wants to merge 67 commits into
base: main
Choose a base branch
from

Conversation

JanZachmann
Copy link
Contributor

@JanZachmann JanZachmann commented Feb 11, 2025

  • introduced local firmware update via web_service
    • new feature FirmwareUpdate providing load and run update api
    • extended update_validation to handle the "local scenario" where no iothub connection might be present
  • fixed bug in main select! loop:
    • changed former solution with outer and inner select! which tried to have first a set of prioritized branches (1st select!) before having the 2nd select! with random access branch selection. The 2nd select! was canceled as soon as there have been other events in 1st select!. As a consequence running commands were canceled as well what caused unexpected behavior.
    • no there is only one prioritized select! statement but therefore there is one dedicated stream for CommandRequests
    • CommandRequests are used for all internal and external requests now. Thus we can use a singe stream for all of them.
  • fixed bug when IotHubClient::shutdown() took too long which resulted in a watchdog timeout

Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
Signed-off-by: Jan Zachmann <[email protected]>
@JanZachmann JanZachmann changed the title WIP:feature: local firmware update feature: local firmware update Feb 27, 2025
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