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
How I can download program zip file from server using WiFi and store it in flash memory?
How are you planning to do this with the nRF52? Do you have a WiFi chip and the nRF52 SoC on the same PCB ? How is the WiFi chip and the nRF52 connected ?
hey sigurd, i am using nrf52832
I don't have any WiFi chip on SoC and i dont know even to connect.
Is there any other way to download zip file from server and upgrade the firmware?
please give some idea.
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]