Application Note:
Upgrading Cellular Firmware Using AirVantage

Part Number APP-0125
Revision A November 2022

Intellectual Property© 2022 Lantronix, Inc. All rights reserved. No part of the contents of this publication may betransmitted or reproduced in any form or by any means without the written permission ofLantronix.
Lantronix is a registered trademark of Lantronix, Inc. in the United States and other countries.
Patented: https://www.lantronix.com/legal/patents; additional patents pending.
All trademarks and trade names are the property of their respective holders.

Contacts
Lantronix, Inc.
48 Discovery, Suite 250
Irvine, CA 92618, USA
Toll Free: 800-526-8766
Phone:
949-453-3990
Fax:
949-453-3995
Technical Support
Online: https://www.lantronix.com/technical-support/
Sales Offices
For a current list of our domestic and international sales offices, go to the Lantronix web site athttps://www.lantronix.com/about-us/contact/

Disclaimer
All information contained herein is provided “AS IS.” Lantronix undertakes no obligation to
update the information in this publication. Lantronix does not make, and specifically disclaims,
all warranties of any kind (express, implied or otherwise) regarding title, non-infringement,fitness, quality, accuracy, completeness, usefulness, suitability or performance of theinformation provided herein. Lantronix shall have no liability whatsoever to any user for any
damages, losses and causes of action (whether in contract or in tort or otherwise) inconnection with the user’s access or usage of any of the information or content contained
herein. The information and specifications contained in this document are subject to change
without notice.

Revision History
DateRev.

Comments

November 2022

A

Initial document.

For the latest revision of this product document, please check our online documentation atwww.lantronix.com/support/documentation.

Upgrading Cellular Firmware Using AirVantage2

Table of Contents
Overview ________________________________________________________________ 4
Obtaining Device Information _________________________________________________ 4
Registering Your Device _____________________________________________________ 5
Setting Up Device for Communication __________________________________________ 7
Upgrading Firmware ________________________________________________________ 8
Advanced Settings ________________________________________________________ 11

Upgrading Cellular Firmware Using AirVantage3Overview
This document provides instructions to upgrade cellular firmware on Sierra Wireless cellular orradio modules, used in Lantronix cellular routers, using their AirVantage portal. This includes thefollowing:•Obtaining device information•Registering the device on the AirVantage portal•Setting up the device for communication•Upgrading the cellular firmware

Obtaining Device Information
To register your device on the AirVantage portal you will need some device information such asmodel, IMEI number, and serial number. To get this information do the following:
1. Open Windows PowerShell.
2. Connect to the device using SSH with IP address of the device. Use the command:ssh root@ipaddress

3. To get the device details, use the command:sendat ati 1

Upgrading Cellular Firmware Using AirVantage4Registering Your Device
To register your device on the AirVantage portal:
1. Log into the AirVantage portal at https://airvantage.net. The AirVantage portal dashboarddisplays.

2. Click Register. The Registration page displays.

3. Click Select system type. The different systems display. Scroll through the page andclick required system type to select it. The selected system type displays to the left, on
the device registration page.

Upgrading Cellular Firmware Using AirVantage

54. Complete the fields in the registration form:•Type – Click in the Type field, then select the required model (see Obtainingdevice information).

•

Serial Number – (see Obtaining device information)•IMEI/ESN – (see Obtaining device information)•Name – Nickname to identify device (optional).

5. Click Register. Your device displays in the Registered systems list once the registration
is successful.

Upgrading Cellular Firmware Using AirVantage

6Setting Up Device for Communication
You must insert a working SIM card into your device, and it must be able to register to networkand data connection.
To setup the device for communication:
1. Open Windows PowerShell and connect to the device using ssh. Use the following
command:ssh root@ipaddress
2. Stop cellular connection, kill eventsms and gps applications. Use the following
commands:
ifdown cellular
ps | grep -i "event\|gps" | grep -v grep | awk '{print $1}' |xargs kill -9
3. Configure APN.
•

For devices using Verizon service:sendat 'AT+CGDCONT=3,"IP","VZWINTERNET"' 1•

For devices using other services:sendat 'AT+CGDCONT=1,"IP","APN"' 1

4. Configure PDP.
•For RC and WP Series devices using Verizon:
sendat 'AT+WDSS=2,3' 1•For RC and WP Series devices using other services:sendat 'AT+WDSS=2,1' 1•

For EM Series devices using Verizon:
sendat 'AT+WDSS=0,"VZWINTERNET"'•For EM Series devices using other services:sendat 'AT+WDSS=0,"APN"'

5. Configure AirVantage FOTA parameters.
sendat 'AT+WDSC=1,0' 1– User agreement for package download.
sendat 'AT+WDSC=2,0' 1 – User agreement for package installation.
sendat 'AT+WDSC=3,1' 1 – To configure polling mode frequency.
sendat 'AT+WDSC=4,1' 1 – Retry mode set to 1min.
sendat 'AT+WDSC=5,0' 1 – User agreement for device reboot.
sendat 'AT+WDSS=1,1' 1 – To manually initiate first connection.

Upgrading Cellular Firmware Using AirVantage

7

Upgrading Firmware
To upgrade the firmware on your device:
1. On the AirVantage Portal, click Monitor > Systems.

The Systems page displays.

2. Select the device to be upgraded. The device information displays.
Note: The installed firmware version is displayed under System Info.

Upgrading Cellular Firmware Using AirVantage

83. Click Upgrade Firmware. The Upgrade Firmware window displays.
Note: The option Upgrade Firmware or Install Bundle may appear depending on thesystem type selected.

4. Select the firmware upgrade option. If you select Upgrade to another firmware(Advanced), click the search icon to display the available firmware options and select therequired firmware. The Upgrade Firmware window displays with the selected firmware.

Upgrading Cellular Firmware Using AirVantage

95. Click Upgrade Firmware. The progress is shown under System Operations. Green line
displays next to Install application once firmware upgrade is successful.

6. Click Install application to view installation details.

Upgrading Cellular Firmware Using AirVantage

10Advanced Settings
You can use AirVantage Portal to update device firmware at a specified time and receive
notification upon completion of the upgrade.
To schedule firmware update and enable notification:
1. In the Upgrade Firmware window, click the arrow next to Advanced settings. The fields
display.

Upgrading Cellular Firmware Using AirVantage112. In the Scheduling field, select Next connection and click the calendar tab next to it.
Select the required date and time for Next connection. Once the connection is initiated,the firmware upgrade starts.
Use the Timeout option to upgrade firmware within a specific time frame. If the device isunable to establish a connection, it stops trying to initiate a connection after the specifiedTimeout.
If the firmware download or installation is still in progress at the specified Timeout, theprocess aborts.
3. Select the Send Email notification when operation completed option to receivenotification.
4. Click Upgrade Firmware.

Upgrading Cellular Firmware Using AirVantage

12