GetDataParameters: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(Created page with "This command send a specified text as a SMS to a specified destination number. Text should be entered with double quotes, coded as UTF-8. The SMS Center number can be specified as an optional parameter as well as an optionnal Timeout value in seconds. Command exits as soon as the SMS is sent. '''COMMAND:''' {| class="wikitable" !Command !Input Arguments !Returns |- |GetDataParameters |PortIndex |In case of Error, returns Error Codes |} '''OUTPUT:...")
 
No edit summary
Line 1: Line 1:
This command send a specified text as a SMS to a specified destination number.
This command return the data parameters of GSM port.
 
Text should be entered with double quotes, coded as UTF-8.
 
The SMS Center number can be specified as an optional parameter as well as an optionnal Timeout value in seconds.
 
Command exits as soon as the SMS is sent.


'''COMMAND:'''
'''COMMAND:'''
Line 22: Line 16:


'''EXAMPLE:'''<syntaxhighlight lang="text">
'''EXAMPLE:'''<syntaxhighlight lang="text">
~# SendSmsText 0 0632279930 "SMS message from BASH script"
~# GetDataParameters 0
SMS SENT
APN : free
Message reference(s): 89
LOG : free
</syntaxhighlight>'''OR'''<syntaxhighlight lang="text">
PWD : free
~# SendSmsText 0 0632279930 "SMS message from BASH script" +333600100100
 
SMS SENT
~# GetDataParameters 0
Message reference(s): 54
Data parameters not set
 
</syntaxhighlight>
</syntaxhighlight>

Revision as of 00:06, 9 June 2024

This command return the data parameters of GSM port.

COMMAND:

Command Input Arguments Returns
GetDataParameters PortIndex In case of Error, returns Error Codes

OUTPUT:

None.

EXAMPLE:

~# GetDataParameters 0
APN : free
LOG : free
PWD : free

~# GetDataParameters 0
Data parameters not set