Added an example script to update the firmware on a CAN node. I used the gui_tool project as an example to follow.
I don't like this
node.defer(4, request_update)
but it does work -- from what I understand sending the BeginFirmwareUpdate request triggers the node to reboot. We then send BeginFirmwareUpdate again such that the bootloader catches it and actually starts updating. Do I understand this correctly?
Added an example script to update the firmware on a CAN node. I used the gui_tool project as an example to follow.
I don't like this
but it does work -- from what I understand sending the BeginFirmwareUpdate request triggers the node to reboot. We then send BeginFirmwareUpdate again such that the bootloader catches it and actually starts updating. Do I understand this correctly?