mcumgr-svc
implements a go-kit based microservice which
prvoides RESTful APIs to conduct firmware update of MCU over the serial port. The frontend of
the service is a Hawkbit compliant FOTA client which
polls and launches FOTA processes by RESTful APIs a Hawkbit FOTA Server
offers to retrive
an FOTA deployment. The serial backend of the service has upload
and reset
methods of
mcumgr implemented to update a serial connected
device which runs mcuboot bootloader in serial
recovery mode, and make the device boot into application code once the update was successful.
The primary use of mcumgr-svc
is run with hawkbit-svc
and slcan-svc. Refer to
demo-svc for the full picture of how things work.