SetDataParameters: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(Created page with "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:''' {| class="wikitable" !Command !Input Arguments !Returns |- |SetDataParameters |Port index APN, UserName Password [Timeout PDP_Header_Co...")
 
No edit summary
Tag: 2017 source edit
Line 11: Line 11:
|In case of Error, returns [[R2D2 Error Codes|Error Codes]]
|In case of Error, returns [[R2D2 Error Codes|Error Codes]]
|}
|}
With


* Authentication Type values: NONE, CHAP or PAP
Authentication Type values: NONE, CHAP or PAP
* PDP_Header_Compression: TRUE or FALSE
PDP_Header_Compression: TRUE or FALSE
* PDP_Data_Compression: TRUE or FALSE
PDP_Data_Compression: TRUE or FALSE


'''OUTPUT:'''
'''OUTPUT:'''

Revision as of 23:34, 8 June 2024

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] In case of Error, returns Error Codes

Authentication Type values: NONE, CHAP or PAP PDP_Header_Compression: TRUE or FALSE PDP_Data_Compression: TRUE or FALSE

OUTPUT:

None.

EXAMPLE:

~# 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