# FOTA for FX30S how to

**URL:** <https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229>\
**Category:** FX30\
**Created:** [March 27, 2021, 3:55am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229 "2021-03-27T03:55:59Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 8, 2021, 6:45am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/41 "2021-04-08T06:45:42Z")

</div>

it does connect the modem but should also automatically connect to the airVantage?  
I was doing it through the legato framework before and now I have stopped the application

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 8, 2021, 7:06am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/42 "2021-04-08T07:06:42Z")

</div>

+WDSI: 5 means authentication failure.

---

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 8, 2021, 7:17am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/43 "2021-04-08T07:17:45Z")

</div>

I can authenticate using the legato API, no problem with that.  
The only problem I have is that all the systems operations will not work, I can somehow get it to change the communication status behaviour, but that is it.  
Is there a separate section for the FOTA? And I may need to have a full subscription with Sierra Wireless to use these functionalities?  
I also get a warning for firmware not recognized which I would need to clear once I know what variables I need to change.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 8, 2021, 7:26am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/44 "2021-04-08T07:26:27Z")

</div>

To me, if AT command not working, I will not try with legato app.

---

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 9, 2021, 1:08pm UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/45 "2021-04-09T13:08:10Z")

</div>

I understand what you say, but I am fairly confident it does connect to the airVantage, as I get the handler to change status (and get the NO\_UPDATE status which is coming from the server anyway) and also the `last seen` on the airVantage is updating.  
Also got it to change the communication settings from the AirVantage server.

The modem is reacting to the sms, and it will start the avc session when triggered, this works as well.

I don`t entirely understand if I am doing something wrong with the le\_avc interface or with the setup or triggering of the airVantage server, I am closing the session straight after getting the status NO\_UPDATE, and open it periodically (every 10m) to check if there are new updates available.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 9, 2021, 1:34pm UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/46 "2021-04-09T13:34:05Z")

</div>

How do you explain +WDSI: 5 is returned?

---

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 9, 2021, 11:51pm UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/47 "2021-04-09T23:51:09Z")

</div>

I don’t explain it, as for most of the stuff we have done this is more a process of trial and error instead of properly understanding the process. Anyhow, the module is surely connecting to the airvantage or it would not update the heartbeat. I get very alternated pinging results, changing from 400 to 1700ms, could that be a cause? Also if the module was not authenticating properly I can’t see how the handler could return the SESSION\_STARTED and NO\_UPDATE unless this is a bug with the interface and app.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 10, 2021, 4:05am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/48 "2021-04-10T04:05:21Z")

</div>

you can try other module and see if +WDSI:5 is still returned.  
If no, go back to your application and see what happens.

---

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 12, 2021, 1:45am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/49 "2021-04-12T01:45:19Z")

</div>

I have remove my application which was using the modem data and also the le\_avc interface, rebooted the unit and tried with AT commands:

ATI  
Manufacturer: Sierra Wireless, Incorporated  
Model: FX30S(WP7702)  
Revision: SWI9X06Y\_02.16.06.00 7605a6 jenkins 2018/06/20 17:56:12  
IMEI: 354723090144204  
IMEI SV: 2  
FSN: VU007185430210  
+GCAP: +CGSM

OK  
AT+CPIN?  
+CPIN: READY

OK  
AT+CGDCONT?  
+CGDCONT: 1,“IPV4V6”,“telstra.wap”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0

OK  
AT+CSQ  
+CSQ: 16,99

OK  
AT+CREG?  
+CREG: 0,1

OK  
AT+CGREG?  
+CGREG: 0,4

OK  
AT+COPS?  
+COPS: 0,0,“Telstra #StaySafe Telstra”,7

OK  
AT+CGACT?  
+CGACT: 1,1

OK  
AT!GSTATUS?  
!GSTATUS:  
Current Time: 423 Temperature: 27  
Modem Mitigate Level: 0 ModemProc Mitigate Level: 0  
Reset Counter: 2 Mode: ONLINE  
System mode: LTE PS state: Attached  
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  
IMS reg state: No Srv

PCC RxM RSSI: -79 RSRP (dBm): -106  
PCC RxD RSSI: -79 RSRP (dBm): -140  
Tx Power: 0 TAC: 9019 (36889)  
RSRQ (dB): -10 Cell ID: 0901BF0B (151109387)  
SINR (dB): -1.8

OK  
AT+WDSS=1,1  
OK

+WDSI: 4

+WDSI: 5

+WDSI: 7

+WDSI: 8

This is for both of my units, if I check the “cm data” status straight after forcing the connection to the airVantage, then I see the data connection is available and I can also ping the [eu.airvantage.net](http://eu.airvantage.net) backend:

root@fx30s:~# ping [eu.airvantage.net](http://eu.airvantage.net)  
PING [eu.airvantage.net](http://eu.airvantage.net) (52.17.142.62): 56 data bytes  
64 bytes from 52.17.142.62: seq=0 ttl=216 time=594.068 ms  
64 bytes from 52.17.142.62: seq=1 ttl=216 time=411.583 ms  
64 bytes from 52.17.142.62: seq=2 ttl=216 time=1164.217 ms  
64 bytes from 52.17.142.62: seq=3 ttl=216 time=883.030 ms  
64 bytes from 52.17.142.62: seq=4 ttl=216 time=460.506 ms  
64 bytes from 52.17.142.62: seq=5 ttl=216 time=411.693 ms  
64 bytes from 52.17.142.62: seq=6 ttl=216 time=516.115 ms  
64 bytes from 52.17.142.62: seq=7 ttl=216 time=698.745 ms  
64 bytes from 52.17.142.62: seq=8 ttl=216 time=602.533 ms

Still it will not authenticate, so my questions are:  
-What is the reason??  
-What is the meaning of +WDSI: 7 and also 8?

Is this because I have registered the units wrongly or for what other reason?  
Connection is available so the unit is able to communicate with the backend.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 12, 2021, 1:59am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/50 "2021-04-12T01:59:11Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/3/303e0ec3faf6a5c29651f5191c3e90e72687854d.png)

Why previously it is ok on your side?

> [@FOTA for FX30S how to](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/17):
>
> 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.

---

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 12, 2021, 2:31am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/51 "2021-04-12T02:31:23Z")

</div>

I thought the AT+WDSS=1,1 was forcing a connection to the airVantage, which command should I use instead?  
I have shutdown the application, removed them, rebooted the unit and then run the AT+WDSS=1,1 command.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 12, 2021, 2:33am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/52 "2021-04-12T02:33:07Z")

</div>

Why previously it is ok on your side?

> [@FOTA for FX30S how to](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/17):
>
> 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.

---

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 12, 2021, 2:37am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/53 "2021-04-12T02:37:17Z")

</div>

you mean previously when I was testing this from with the legato API?  
Have no idea honestly, this is basically the reason why I have opened this post.  
The only thing I have modified in this unit is the ssh login password for root as we want to prevent unwanted login to the device by third party, not that I believe this will make any difference but worth to mention as we are guessing on what the problem could be.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 12, 2021, 2:48am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/54 "2021-04-12T02:48:37Z")

</div>

you said before that AT command is working fine:

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.

---

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 12, 2021, 2:53am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/55 "2021-04-12T02:53:59Z")

</div>

nah, that was related with the legato API, which I have solved.  
The AT commands as far as I can remember have never worked properly.  
If I go back to use the legato API for the avcService I still get the connection through but don`t receive any update (LE\_AVC\_NO\_UPDATE) regardless of the system command I use.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 12, 2021, 3:13am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/56 "2021-04-12T03:13:40Z")

</div>

I don’t see problem with AT command on my WP76.  
Maybe you can try some more module and see what happens.

---

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 12, 2021, 3:51am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/57 "2021-04-12T03:51:43Z")

</div>

I have two modules with the same problem, so your solution would be to buy some more and to try if the problem persist with all of them?  
🙂

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 12, 2021, 4:05am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/58 "2021-04-12T04:05:08Z")

</div>

you can give a try as other user does not have same problem as yours:

> [@+WDSI:5 authentication with the server failed](https://forum.sierrawireless.com/t/wdsi-5-authentication-with-the-server-failed/16793/4):
>
> Hi, I have the same issue on my FX30 target. The at+wdss=1,1 returns me the following: at+wdss=1,1 OK +WDSI: 4 +WDSI: 6 +WDSI: 23,0 +WDSI: 4 +WDSI: 6 +WDSI: 23,0 +WDSI: 4 +WDSI: 6 +WDSI: 23,0 +WDSI: 8 The +WDSI: 23,0 indicates a bootstrap session instead of a “Device Management” one and due to that, I connot synchronize my device with airvantage. I tried to restore the modem configuration with “at&f” without success. Do you have any idea ?

you might also see this:

> **[Can't UPDATE application by SOTA, Please help me](https://forum.legato.io/t/cant-update-application-by-sota-please-help-me/3470)**
>
> Hi all, I’m working with FX30 Gateway , I released ZIP file (include manifest.app and LOCATION\_TEST.wp750x.update) to Airvantage, then I follow with AirPrime - WP Series - AirVantage Software Over-The-Air Guidelines - 2174152 - Rev1.0.pdf...

You might also see the firewall:

> **[Trying to activate new device- Cant connect at+wdss=1,1](https://forum.legato.io/t/trying-to-activate-new-device-cant-connect-at-wdss-1-1/3465/2)**
>
> Hey virajpadte, I’ve been looking at the forum for a while now and haven’t seen anyone else who is having this issue. It would be great if someone would be able to address this problem, because in its current state, I don’t believe that I can...

Finally you might also try on legato 19.11 :

root@fx30:~# legato version  
19.11.2\_87675fc6c7febbf51ba6fa7ff166aa90r  
root@fx30:~# microcom /dev/ttyAT  
at+wdss=1,1  
OK+WDSI: 4+WDSI: 5+WDSI: 7+WDSI: 8

---

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 12, 2021, 5:15am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/59 "2021-04-12T05:15:25Z")

</div>

one of the forum doesn`t have any solution, not sure how I can use that. Tried to change the firewall settings and not good result. With the WDSI commands, I can`t set it to 8191:  
at+wdsi=8191  
ERROR

This is what I read from the target.

at+wdsi?  
+WDSI: 4479

OK  
at+wdsc?  
+WDSC: 0,0  
+WDSC: 1,0  
+WDSC: 2,0  
+WDSC: 3,0  
+WDSC: 4,15,60,240,480,1440,2880,0,0  
+WDSC: 5,0  
+WDSC: 6,0

beside this, once again, the latest firmware for the FX30-catm is R11 based on legato18 and this cannot be updated to any firmware we wish. Can`t connect to the sierrawireless webpage (which should be down at the moment) so can`t confirm if there was a new release, it should still be working with the older firmware thought

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 12, 2021, 5:59am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/60 "2021-04-12T05:59:28Z")

</div>

→ one of the forum doesn `t have any solution, not sure how I can use that. `  
I just want to show you that other user does not have +WDSI:5.

BTW, you can use leaf to download wp77 fw

[Previous page](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229.md?page=2)

[Next page](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229.md?page=4)
