Add code to send upgrade firmware command to OSTC3
Add code to send upgrade firmware command to OSTC3

This function triggers a reboot into the bootloader which flashes the
new firmware to Prom.

This code is inspired by JeanDo ostc-companion.

Reviewed-by: Jef Driesen <b15fddc167525de4ad1fb3bc376a47e585fa0068@libdivecomputer.org>
Signed-off-by: Anton Lundin <0a6ca81d300dbabb82140c80e76039139ef86644@acc.umu.se>

glance-/libdivecomputer,henrik242/libdivecomputer,glance-/libdivecomputer,Poltsi/libdivecomputer-vms,henrik242/libdivecomputer