Device Configuration via SMS Commands

2N LTE Verso is equipped with an implemented set of SMS commands, which is used for retrieving the device state and setting the basic mobile data connection parameters. If, e.g., an APN other than that automatically selected upon the first device start is to be set, the appropriate SMS command can be used.

Make sure that all the SMS commands are admin authorized via pwd=<password>. The password always matches the web configuration interface login password. If the password is missing or invalid, the device ignores the command and fails to process the data and respond. Make sure that the device is logged into the LTE network to make the device work properly. However, the SMS commands work without data connection too.

Find the current device state – STATE command

SMS command format – state pwd=<password> – e.g. state pwd=2n

The device sends the following response:

Info

Description

state: REGISTERED

device is currently logged into mobile network without data connection

state: DATA_CONNECTING

device is currently logged into mobile network trying to establish data connection

state: DATA_CONNECTED

device is currently logged into mobile network with established data connection

provider

provider to which the device is connected

network: NONE

device has currently no data connection

network: 2G

device is currently connected to 2G network

network: 3G

device is currently connected to 3G network

network: 4G

device is currently connected to 4G network

signal

signal strength

ipaddr

device IP address

Read parameter – GET command

SMS command format – get pwd=<password> <parameter> – e.g. get pwd=2n fwver

The device sends the following response: ok <parameter>=<value> or error including error description.

Available Command Parameters

Parameter

Description

name

device name

my2nid

My2N ID

serial

device serial number

apn

APN, parameters ausr and apwd are returned in the response

ausr

APN authorization name

apwd

APN authorization password

iccid

SIM card ICCID

fwver

current firmware version

Set parameter – SET command

SMS command format – set pwd=<password> <parameter>=<value> – e.g. set pwd=2n name=Brana01set pwd=2n http=1

The device sends the following response: ok or error including error description.

Available Command Parameters

Parameter

Description

name

device name

my2nid

My2N ID

http

HTTP server switch on/off

Set APN parameter – SET command

SMS command format – set pwd=<password> apn=<apnName> ausr=<apnUser> apwd=<apnPwd> – e.g. set pwd=2n apn=internet.t-mobile.cz ausr=wap apwd=wapset pwd=2n apn=internet ausr= apwd=

Available Command Parameters

APN Parameters

Description

apnName

name of APN to mobile provider

apnUser

username to APN

apnPwd

APN password

Device beeps and flashes after receiving the command – LOCATE command

SMS command format – locate pwd=<password> – e.g. locate pwd=2n

The device sends the following response: ok.

このページは役に立ちましたか?