Hi all,
i would like to know if it is possible (and how) to have the possibility for firmware upgrade over the air for devices configured as GAP_CENTRAL_MST.
Best regards,
Dario
Keywords:
Device:
Hi pnndra,
The SUOTA profile defines two roles the SUOTA initiator who transmits the new software image (GAP_CENTRAL_ROLE) and the SUOTA receiver who receives the new image (GAP_PERIPHERAL_ROLE) therefore in order to update the central device you must switch your device change it to a peripheral supporting the SUOTA receiver, update the image to the SPI and then boot from your new image. I suppose that this a way to do it (isn't implemented as far as i know). You can change the role of your cental by sending a GAPM_RESET_CMD to the stack and then a GAPM_SET_DEV_CONFIG_CMD (in order to set the role).
Thanks MT_dialog