GetDataStatus: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
No edit summary
No edit summary
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>

Revision as of 23:07, 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 0
DATA LINK IS DOWN

~# GetDataStatus 0
PORT NOT STARTED