SetDataParameters: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: 2017 source edit |
m (added Category:R2D2 using HotCat) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 28: | Line 28: | ||
~# SetDataParameters 1 “internet” “gprs” “telenor” 30 TRUE FALSE 10.10.145.33 | ~# SetDataParameters 1 “internet” “gprs” “telenor” 30 TRUE FALSE 10.10.145.33 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:DATA]] | |||
[[Category:R2D2]] |
Latest revision as of 11:27, 27 March 2025
This command configures PDP parameters for data session on the specified GSM port; APN Name, PDP User Name, PDP password, connection timeout (seconds), PDP Header Compression flag, PDP Data Compression flag, IP Address, IP Network Mask, Primary DNS and Secondary DNS. These parameters are used in all further Data sessions.
COMMAND:
Command | Input Arguments | Returns |
---|---|---|
SetDataParameters | Port index APN, UserName Password [Timeout PDP_Header_Compression PDP_Data_Compression IP_Address IP_Mask Primary_DNS Secondary_DNS Authentication_type]
Authentication Type values: NONE, CHAP or PAP, PDP_Header_Compression: TRUE or FALSE, PDP_Data_Compression: TRUE or FALSE |
In case of Error, returns Error Codes |
OUTPUT:
None.
EXAMPLES:
~# SetDataParameters 0 free free free 1200
SUCCESS
~# SetDataParameters 0 free free free 1200 TRUE TRUE
SUCCESS
~# SetDataParameters 1 “internet” “gprs” “telenor” 30 TRUE FALSE 10.10.145.33