Linux command: wancm
On cellular-enabled XBee Gateway and XBee Industrial Gateway devices, the wancm command is available.
This command can be used to see the status of the cellular connection, and to perform certain management activities.
Usage
Usage: wancm command [profile] command:
connect Connect or reconnect to network
disconnect Disconnect from network
fw_update Device firmware update
exit Disconnect and exit
info Print information
power (on|off) Power device on or off
power suspend Wake on SMS received
prl_update CDMA PRL update
providers Get supported providers
provision CDMA provision
rci Get RCI information
reset Reset device and reconnect
scan GSM operator scan
sms_stats Print SMS statistics
sms_recvlog Print SMS received message log
sms_sentlog Print SMS sent message log
sms_clearlog Clear SMS received and sent message logs
profile: Profile index (0-3)
"first" for highest priority
"next" for next lower priority
Default is current profile
Telit OTA firmware update: fw_update_ota [profile] param=value...
file File name on FTP server (required)
server FTP server name or IP address
port FTP server port number
user FTP server user name
password FTP server password
directory FTP server directory
Example:
$ wancm info
Device Type: LTE
Manufacturer: Telit
Model: LE910-NA1
Revision: 20.00.526.0
Serial number: 353535095837892
Phone number: 15888675309
SIM IMSI: 313460000000001
SIM ICCID: 89100123450004598765
SIM PIN status: READY
Signal strength: -79 dBm
Signal level: 3 of 3 bars
Signal quality: -3.5 dB Registration status: Registered (Home Network)
Cell ID: 4E7B57E Location area code: 4611
Mobile country code: 310
Mobile network code: 410
Operator name: AT&T
Service: LTE
Band: 2
Channel: 1000
Profile: 0 Connection state: Connected
Connection duration: 8 days 12:16:12
IP address: 192.0.2.156 DNS primary address: 192.0.2.62
DNS secondary address: 192.0.2.64 Receive idle time: 15
Transmit idle time: 15
Connections: 1
Connection errors: 0
Carrier loss: 0
LCP echo failed: 0
Idle timeout: 0
User disconnect: 0
Monitoring errors: 0
Device resets: 0
Received bytes: 1327535
Transmitted bytes: 6057077
Total received bytes: 1327535 Total transmitted bytes: 6057077