ConnectData: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
m (added Category:R2D2 using HotCat)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This command establishes data session on the specified GSM port, using previously configured data parameters, such as APN, User Name, Password... Command waits until data session is established or optional timeout (set by SetDataParameters command) expired, or general timeout expired. If data session is already established command will return actual IP parameters. An optional timeout (in seconds) can be specified. If timeout is not specified or is greater than general timeout, general timeout will be used.
This command establishes data session on the specified port.  
 
The command waits until the data session is established or the expiration of a timeout value.
 
The timeout value is the greater from the General timeout value or the timeout value specified in the SetDataParameters command.


'''COMMAND:'''
'''COMMAND:'''
Line 30: Line 34:
DATA NOT SUPPORTED
DATA NOT SUPPORTED
</syntaxhighlight>
</syntaxhighlight>
[[Category:DATA]]
[[Category:R2D2]]

Latest revision as of 11:27, 27 March 2025

This command establishes data session on the specified port.

The command waits until the data session is established or the expiration of a timeout value.

The timeout value is the greater from the General timeout value or the timeout value specified in the SetDataParameters command.

COMMAND:

Command Input Arguments Returns
ConnectData Port index In case of Error, returns Error Codes

OUTPUT:

None.

EXAMPLE:

~# ConnectData 0
DATA UP:
IP Address: 10.157.160.161
IP Netmask: 255.255.255.252
IP Default Gateway: 10.157.160.161
IP DNS1: 212.27.40.240
IP DNS2: 212.27.40.241

~# ConnectData 1
TIMEOUT EXPIRED

~# ConnectData 1
DATA NOT SUPPORTED