SendSmsPduAndWaitDelivery

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command sends SMS defined in specified PDU buffer (entered as an array of hexadecimal digits), from the specified GSM port. For this SMS the Delivery Report is demanded. Command waits until the SMS Delivery Report is received or optional timeout (entered in seconds) expired or general timeout expired. Timeout = -1 allows to ask for DLR but DLR is not wait to release the command.

COMMAND

Command Input arguments Returns
SendSmsPduAndWaitDelivery Port index, PDU buffer, [Timeout] In the case of error, Error Code

OUTPUT

Command status in the following format:
"%s\n", command_status

EXAMPLE

~# SendSmsPduAndWaitDelivery 0 01000A9260237299030000AA14F4329E
DELIVERY REPORT RECEIVED
Message reference(s): 91

~# SendSmsPduAndWaitDelivery 0 01000A9260237299030000AA14F4329E
0E32CBDF6D1094580589EB6673590E 120
TIMEOUT EXPIRED
SendSmsPduAndWaitDelivery Remote