I can upload zip file from app, but i need to download it from server and upgrade the application
I can upload zip file from app, but i need to download it from server and upgrade the application
You can use the DFU library(Android / iOS) in your smartphone app to send the fw to the device, but from where you get this zip from is up to you. We don't provide any Android / iOS cloud-example for DFU. I assume different cloud companies have example code how you download things from the cloud to your smartphone app.
hey sigurd, thanks for reply
My requirements are mentioned below
How I can download program zip file from server using WiFi and store it in flash memory? how to store data array into flash using FDS and read this zip file in nordic internal flash?
get zip file from sever --> store in flash --> switch application to DFU / boot-loader mode using button less --> read this file from flash --->send this file for upgrade firmware and replace with existing firmware
Thanks in advance
Is there any other way to download zip file from server and upgrade the firmware?
Then you could use the smartphone as a gateway, and use Bluetooth as the transport layer between the smartphone and the nRF52-device.
[Cloud/server]---<WiFi>---[Smartphone(app)]----<Bluetooth>----[nRF52-device]
hey sigurd, Sorry for late reply
Which smartphone(app) you are telling ? is it nrfconnect app or other.
Neha said:is it nrfconnect app or other.
nRFConnect, but also nRF-Toolbox supports DFU. See this link.
Hi Sigurd,
Is there a sample code for iOS for the method you suggested?
I'd been looking at Amazon RTOS but it doesn't like they don't support OTA for nRF52 yet.
Ideally I need a way to have nRF52 <---> BLE <---> iOS <---TCP/IP--> Internet. Is there a sample code that enable me to do this without full blown AWS IoT?
We don't provide a sample for the "iOS <---TCP/IP--> Internet" part. This depends on your mobile-app, and how and where you want to host the DFU image.
We don't provide a sample for the "iOS <---TCP/IP--> Internet" part. This depends on your mobile-app, and how and where you want to host the DFU image.