SendSmsTextAndWaitDelivery: Difference between revisions
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 |
No edit summary Tag: 2017 source edit |
||
Line 8: | Line 8: | ||
!Returns | !Returns | ||
|- | |- | ||
| | |SendSmsTextAndWaitDelivery | ||
| | |Port index, Destination number, SMS text, [Timeout] | ||
|[[R2D2 Error Codes|Error Code]] in case of error. | |[[R2D2 Error Codes|Error Code]] in case of error. | ||
|} | |} | ||
'''OUTPUT''' | '''OUTPUT''' | ||
Command status: | |||
"%s\n", | Command status in the following format: | ||
"%s\n", command_status | |||
'''EXAMPLE''' <syntaxhighlight lang="text"> | '''EXAMPLE''' <syntaxhighlight lang="text"> | ||
~# | ~# SendSmsTextAndWaitDelivery 0 0612345678 "This is a message" | ||
DELIVERY REPORT RECEIVED | |||
Message reference(s): 90 | |||
~# | ~# SendSmsTextAndWaitDelivery 0 0612345678 "This is a test" 120 | ||
TIMEOUT EXPIRED | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:SMS]] | [[Category:SMS]] |
Revision as of 21:11, 26 March 2025
This command allows to accept an incoming call once presented on the specified port.
COMMAND
Command | Line Arguments | Returns |
---|---|---|
SendSmsTextAndWaitDelivery | Port index, Destination number, SMS text, [Timeout] | Error Code in case of error. |
OUTPUT
Command status in the following format:
"%s\n", command_status
EXAMPLE
~# SendSmsTextAndWaitDelivery 0 0612345678 "This is a message"
DELIVERY REPORT RECEIVED
Message reference(s): 90
~# SendSmsTextAndWaitDelivery 0 0612345678 "This is a test" 120
TIMEOUT EXPIRED