How to add the SUOTA profile to my SDK 1.0.6.968 DA14681 application ?

2 posts / 0 new
Last post
ltorrico
Offline
Last seen:1 month 2 weeks ago
Joined:2017-01-18 19:56
How to add the SUOTA profile to my SDK 1.0.6.968 DA14681 application ?

I have tested SUOTA with the pxp_reporter demo and it works. We have created our own application and want to add SUOTA to it. Is there any good documentation or instructions on how to easily do this? We are using the DA14681.

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi Itorrico,

Hi Itorrico,

annihilate没有文档guide you step by step in order to apply the SUOTA functionallity on the 68x family, but you can take the pxp reporter as an example. First you will have to apply the service in your BLE task, check the functions and the variable that are included in the project as soon as you apply the dg_configSUOTA_SUPPORT. After you have implement the service initialization to your BLE task (along with the DIS service since its a requirement) make sure that the UUID of the SUOTA service is at your advertising data in order for the android SUOTA application to see the device (0xF5, 0xFE). After completing that task as well you will have to configure your project to be build for the 0x20000 address and this is done by the #define dg_configIMAGE_FLASH_OFFSET (0x20000). After that you should be good to go, follow the procedures indicated by the UM-B-056-DA1468x Software Developer's Guide.pdf and download the code via the suota_initial_flash_jtag_win script.

Thanks MT_dialog