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...")
 
m (added Category:R2D2 using HotCat)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
This command returns status of data session on the specified GSM port.
This command return the status of the data session of the specified GSM port.


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


'''COMMAND:'''
'''COMMAND:'''
Line 11: Line 11:
|GetDataStatus
|GetDataStatus
|Port index
|Port index
|In case of Error, returns [[R2D2 Error Codes|Error Codes]]
|Data Status
|}
|}
'''OUTPUT:'''
'''OUTPUT:'''
Line 28: Line 28:
StartTime: 22:11:41
StartTime: 22:11:41


~# GetDataStatus 1
~# GetDataStatus 0
DATA LINK IS DOWN
DATA LINK IS DOWN


~# GetDataStatus 4
~# GetDataStatus 0
PORT NOT STARTED
PORT NOT STARTED
</syntaxhighlight>
</syntaxhighlight>
[[Category:DATA]]
[[Category:R2D2]]

Latest revision as of 11:27, 27 March 2025

This command return the status of the data session of the specified GSM port.

If GSM port is not registered to the mobile network, the command return the status of the 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 0
DATA LINK IS DOWN

~# GetDataStatus 0
PORT NOT STARTED