FOTA for FX30S how to

We are moving into finalizing this product and there is some points we still need to finalise, one is the firmware update over the air (FOTA).
This is a new concept developed from Sierra Wireless and even if I have been looking for information I haven`t found what I needed:

  1. Is this FOTA performed through the AirVantage web page.
  2. Can I download any firmware (cwe) even if this is an image made from a legato system I have built.

Especially in regards to point (1), I have AirVantage app running in my target, with internet connection established through profile 2 (modemService), everything works as I am sending data from the target to our backend, but when logging into the AirVantage I can`t see my device, so my question is if I need to do anything specific to get this working? Or as long as the AirVantage app is running it should connect?

  1. yes, FOTA is performed in https://eu.airvantage.net/
    You need to first register module in AVMS website and use AT+WDSS command to connect to server.

  2. I have tried to download custom legato CWE to WP76.
    This is the file I upload to the AVMS server.
    The revision inside bundle.app “LE=18.03.0,MCU=002.009” has to be met with the version after upgrade.
    jyi_legato_cwe_only.zip (2.7 MB)

would you know how this can be done through the legato interface?

suggest you trying with AT command first to make sure everything is working fine.

you might also see the sample here:

Air Vantage agent reported update status: AUTHENTICATION_STARTED
Air Vantage agent reported update status: AUTHENTICATION_FAILED
Air Vantage agent reported unexpected update status: 16
Air Vantage agent reported update status: SESSION_STOPPED

This is what I get when running those functions.

if I use the AT command:
AT+WDSS=1,1
OK

but still the target doesn`t show as connected.

you can enable the +WDSI indication:

at+wdsi?
+WDSI: 0

OK
at+wdsi=4479
OK
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7609
Revision: SWI9X07Y_02.28.03.05 000000 jenkins 2019/07/08 11:04:16
IMEI: 359782080100399
IMEI SV: 6
FSN: WA803370010610
+GCAP: +CGSM

OK
at!gstatus?
!GSTATUS:
Current Time: 790 Temperature: 35
Modem Mitigate Level: 0 ModemProc Mitigate Level: 0
Reset Counter: 1 Mode: ONLINE
System mode: LTE PS state: Attached
IMS reg state: NOT REGISTERED IMS mode: Normal
IMS Srv State: NO SMS,NO VoIP
LTE band: B3 LTE bw: 10 MHz
LTE Rx chan: 1851 LTE Tx chan: 19385
LTE CA state: INACTIVE
EMM state: Registered Normal Service
RRC state: RRC Idle

PCC RxM RSSI: -57 RSRP (dBm): -83
PCC RxD RSSI: -92 RSRP (dBm): -124
Tx Power: 0 TAC: 0652 (1618)
RSRQ (dB): -9 Cell ID: 01A1560B (27350539)
SINR (dB): 14.6

OK
at+wdss=1,1
OK

+WDSI: 4

+WDSI: 6

+WDSI: 23,0

+WDSI: 4

+WDSI: 6

+WDSI: 23,1

AT+WDSI?
+WDSI: 0

OK
AT+WDSI=4479
OK

ATI3
Manufacturer: Sierra Wireless, Incorporated
Model: FX30(WP7702)
Revision: SWI9X06Y_02.22.12.00 eaf79c jenkins 2019/04/24 18:48:27
IMEI: 354723090143248
IMEI SV: 3
FSN: VU007185681610
+GCAP: +CGSM

OK
AT!GSTATUS?
!GSTATUS:
Current Time: 329 Temperature: 28
Modem Mitigate Level: 0 ModemProc Mitigate Level: 0
Reset Counter: 2 Mode: ONLINE
System mode: LTE PS state: Attached
IMS reg state: UNKNOWN IMS mode: Not Support
IMS Srv State: UNKNOWN SMS,UNKNOWN VoIP
LTE band: B28 LTE bw: 20 MHz
LTE Rx chan: 9410 LTE Tx chan: 4294967295
LTE CA state: INACTIVE
EMM state: Registered Normal Service
RRC state: RRC Idle

PCC RxM RSSI: -73 RSRP (dBm): -106
PCC RxD RSSI: -73 RSRP (dBm): -140
Tx Power: 0 TAC: 9019 (36889)
RSRQ (dB): -15 Cell ID: 0901BF0C (151109388)
SINR (dB): -4.8

OK

AT+WDSS=1,1
OK

+WDSI: 4

+WDSI: 5

+WDSI: 7

+WDSI: 8

+WDSI: 7

+WDSI: 8

you can delete the module in AVMS website and register again and retry and see if there is still problem.
BTW, are you registering for Fx30 module in the website?

I have deleted and re-created the device in the AV devices, still same problem as before

how do you register?

Register → (add SN and IMEI) → Register (button)

Are you registering for FX30 or WP77 module?]
Maybe you need to try both to see which one is working.

Did your application start “cm data” automatically?
If there is IP address in modem or IP address with !SCACT=1,1, the FOTA session cannot successfully established.

I have registered the FX30S as this is the target I am using, can`t try all different combinations, so if you could be a bit more specific.

I am starting the modem from the legato framewrok, but I have noticed that running the avc session start will also kill my communication, so I wonder if this is also done inside the avc app.

what is the meaning of “starting the modem from the leagto framework”?
You mean you establish the data connection in your app?

“starting the modem from the leagto framework” means using of le_mdc interface to start the modem connection.

as said before, you cannot do that for the test of AT+WDSS=1,1.
You need to shut down the application first to test the AVMS with AT command.

If I trigger the AT+WDSS=1,1 then the it seems the modem will try to establish the connection (setup the data connectivity) but it will not work.
If I start the data connection manually (cm data connect) and after trigger the AT command, then the test is successful.

Although it is different in my side, you have made it work then

I need to get it working with the legato framework, so getting this working through the AT commands doesn`t help me .