GetSmsParameters: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(Created page with " This command allows to accept an incoming call once presented on the specified port. '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |AcceptCall |PortIndex |Error Code in case of error. |} '''OUTPUT''' Command status: <br> "%s\n", status (CONNECTED or NO INCOMING CALL) '''EXAMPLE''' <syntaxhighlight lang="text"> ~# AcceptCall 0<br> CONNECTED<br> ~# AcceptCall 2<br> NO INCOMING CALL </syntaxhighlight> Category:SMS")
Tag: 2017 source edit
 
m (added Category:R2D2 using HotCat)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:


This command allows to accept an incoming call once presented on the specified port.
This command gets SMS Center number set in the robot and in the SIM for the specified GSM port.


'''COMMAND'''
'''COMMAND'''
Line 8: Line 8:
!Returns
!Returns
|-
|-
|AcceptCall
|GetSmsParameters
|PortIndex  
|PortIndex  
|[[R2D2 Error Codes|Error Code]] in case of error.
|SMS Center
|}
|}


'''OUTPUT'''
'''OUTPUT'''<br>SMSC number sets in R2D2 device and SMSC number sets in the SIM used by the robot.
Command status: <br>
"%s\n", status (CONNECTED or NO INCOMING CALL)


'''EXAMPLE''' <syntaxhighlight lang="text">
'''EXAMPLE''' <syntaxhighlight lang="text">


~# AcceptCall 0<br>
~# GetSmsParameters 0
CONNECTED<br>
+333600100100 / +333600100100
 
~# AcceptCall 2<br>
NO INCOMING CALL


~# GetSmsParameters 0
+333600100100 / SMSC unknown
</syntaxhighlight>
</syntaxhighlight>
[[Category:SMS]]
[[Category:SMS]]
[[Category:R2D2]]

Latest revision as of 11:31, 27 March 2025

This command gets SMS Center number set in the robot and in the SIM for the specified GSM port.

COMMAND

Command Line Arguments Returns
GetSmsParameters PortIndex SMS Center

OUTPUT
SMSC number sets in R2D2 device and SMSC number sets in the SIM used by the robot.

EXAMPLE

~# GetSmsParameters 0
+333600100100 / +333600100100

~# GetSmsParameters 0
+333600100100 / SMSC unknown