ConnectData: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
This command | 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. | ||
'''COMMAND:''' | '''COMMAND:''' |
Revision as of 21:54, 8 June 2024
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.
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