SendSmsPduAndWaitDelivery: Difference between revisions
Jump to navigation
Jump to search
m (Administrator moved page R2D2 - SendSmsPduAndWaitDelivery to SendSmsPduAndWaitDelivery without leaving a redirect) |
m (added Category:R2D2 using HotCat) |
||
Line 31: | Line 31: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:SMS]] | [[Category:SMS]] | ||
[[Category:R2D2]] |
Latest revision as of 11:31, 27 March 2025
This command sends a SMS using data from a specified PDU buffer on a given port and waits until the SMS Delivery Report is received or timeout (entered in seconds) expired.
The SMS Center number can be specified as an optional parameter.
Command returns as soon as the SMS is submitted to SMSC.
COMMAND
Command | Line Arguments | Returns |
---|---|---|
SendSmsPduAndWaitDelivery | Port index, PDU buffer, [Timeout] | Error Code in case of error. |
OUTPUT
Command status in the following format:
"%s\n", command_status
EXAMPLE
~# SendSmsPduAndWaitDelivery 0 "0011000A81607108879200000B25C8329BFD0651D1E939283D078541EDF27C1E3E97416937084AAC82CC6F793B4C07"
DELIVERY REPORT RECEIVED
Message reference(s): 76
~# SendSmsPduAndWaitDelivery 0 0011000A81607108879200000B25C8329BFD0651D1E939283D078541EDF27C1E3E97416937084AAC82CC6F793B4C07 50
TIMEOUT EXPIRED