SUOTA for central devices

2 posts / 0 new
Last post
pnndra
Offline
Last seen:2 years 9 months ago
Joined:2014-06-17 10:05
SUOTA for central devices

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:
MT_dialog
Offline
Last seen:一周14小时前
Staff
Joined:2015-06-08 11:34
Hi pnndra,

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