Remotely updating mangos without AirVantage

So I guess its time to toss this out there, has anyone imagined a proceedure to remotely update firmwares, weather it be updates, cwe or full image spk files without going through AirVantage as we cannot use it in our scenerio?.. thoughts, ideas and inputs welcome…

Hi,
below link may be helpful for you.

1 Like

ok read that thread, but what exactly is thie process to use the update tool in the target to install the application. ?? i can get the spk on the device easily via scp but… flashing it from inside the device… kinda not really understanding it

Once your application is downloaded in the target over FTP, you can use the update tool in the target to install the application.

hi can i ve the sample code to update the firmware from ftp location and install in the device

I read the file from the ftp location . i would like to know how to install the .update file to the device through program

You can see the code here on the “update” command

how to give binding for the update api in .adef file

You can see \apps\platformServices\airVantageConnector\avcService.adef

avcDaemon.avcDaemon.le_update -> <root>.le_update

am getting the following error

Binary app ‘OTA’ interface binding ‘le_update’ missing.

Why don’t you directly use modify the avcService application?
It is already working fine.

root@swi-mdm9x28-wp:~# app status
[running] atAirVantage
[running] atQmiLinker
[running] atService
[running] audioService
[running] avcService

i want to download the .update file from the local ftp location

I just have a try to add that line in modemDemo app, I don’t see problem:

bindings:
{
	send.sendComponent.send -> modemDemo.demoComponent.send

    modemDemo.demoComponent.le_mdc -> modemService.le_mdc
    modemDemo.demoComponent.le_mrc -> modemService.le_mrc
    modemDemo.demoComponent.le_sim -> modemService.le_sim
    modemDemo.demoComponent.le_sms -> modemService.le_sms
    modemDemo.demoComponent.le_data -> dataConnectionService.le_data

	modemDemo.demoComponent.le_update -> <root>.le_update
}

And in the .cdef file, you need to add " le_update.api":

requires:
{
    api:
    {
        modemServices/le_sms.api
        modemServices/le_mrc.api
        modemServices/le_mdc.api
        modemServices/le_sim.api
        le_data.api

        le_update.api
    }
}