SendSmsPduAndWaitDelivery

From Ultiroam User Docs
Jump to navigation Jump to search

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