OTA upgrade using android app

Learn MoreFAQsTutorials

6 posts / 0 new
Last post
Neetha
Offline
Last seen:1 year 10 months ago
Joined:2019-03-15 09:25
OTA upgrade using android app

I am developing an android application to connect with dialog semiconductor. I am able to read and wrire characteristics from/to the device. But now I need to perform ble OTA updation for that device through my app. How can I do that?

Device:
PM_Dialog
Offline
Last seen:15 hours 36 min ago
Staff
Joined:2018-02-08 11:03
Hi Neetham

Hi Neetham

You could use a reference the source code of the Dialog’s SUOTA mobile application. The source code is available on or support site, so please follow the link below and navigate to the “Mobile Apps” section.

//www.xmece.com/products/connectivity/bluetooth-low-energy/smartbond-da14585-and-da14586

Thanks, PM_Dialog

Neetha
Offline
Last seen:1 year 10 months ago
Joined:2019-03-15 09:25
I refered the source code.

I refered the source code. But actually I am confused about that. Use of protocols like I2C, SPI is necessary for performing OTA upgrade? Or just need to send the updated package to the device?

PM_Dialog
Offline
Last seen:15 hours 36 min ago
Staff
Joined:2018-02-08 11:03
Hi Neetha,

Hi Neetha,

Yes, the I2C and the SPI are necessary for the SUOTA. If you check the mobile SUOTA application, you will see that there is a menu with the SPI/I2C configurations for the flash memory that the peripheral is using. The application will send these configurations to the peripheral.

Thanks, PM_Dialog

Neetha
Offline
Last seen:1 year 10 months ago
Joined:2019-03-15 09:25
Is there any library to

Is there any library to implement OTA upgrade using android app. Some of the devices provide library to support OTA upgrade through android. Whether dialog provide any library?

PM_Dialog
Offline
Last seen:15 hours 36 min ago
Staff
Joined:2018-02-08 11:03
Hi Neetha,

Hi Neetha,

No, we don’t provide any OTA library, all we have regarding the SUOTA mobile application is the source code that I suggested you to have a look.

Thanks, PM_Dialog