GetDataStatus: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(Created page with "This command returns status of data session on the specified GSM port. If GSM port is not registered to mobile network, command returns status of GSM port. '''COMMAND:''' {| class="wikitable" !Command !Input Arguments !Returns |- |GetDataStatus |Port index |In case of Error, returns Error Codes |} '''OUTPUT:''' None. '''EXAMPLE:'''<syntaxhighlight lang="text"> ~# GetDataStatus 0 CONNECTED Address: 10.157.160.161 Dns1: 212.27.40.240 Dns2: 212.27.4...")
 
No edit summary
Line 11: Line 11:
|GetDataStatus
|GetDataStatus
|Port index
|Port index
|In case of Error, returns [[R2D2 Error Codes|Error Codes]]
|Data Status
|}
|}
'''OUTPUT:'''
'''OUTPUT:'''

Revision as of 23:06, 8 June 2024

This command returns status of data session on the specified GSM port.

If GSM port is not registered to mobile network, command returns status of GSM port.

COMMAND:

Command Input Arguments Returns
GetDataStatus Port index Data Status

OUTPUT:

None.

EXAMPLE:

~# GetDataStatus 0
CONNECTED
Address: 10.157.160.161
Dns1: 212.27.40.240
Dns2: 212.27.40.241
Interface: wwan0
Upload: 2428
Download: 0
StartTime: 22:11:41

~# GetDataStatus 1
DATA LINK IS DOWN

~# GetDataStatus 4
PORT NOT STARTED