SendSmsPdu

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command sends SMS using data from specified PDU buffer (entered as an array of hexadecimal digits), from the specified GSM port. The SMS Center number can be specified as an optional parameter. Command exits as soon as the SMS is submitted to SMSC.

COMMAND

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

OUTPUT

"SMS SENT to %s %s\n", dest_number, sms_text [smsc_number]

EXAMPLE

~# SendSmsPdu 0 01000A9260237299030000AA14F4329E0E32CBDF6D1094580589EB6673590E
SMS SENT to 0632279930 "text from PDU buffer"
Message reference(s): 89 SendSmsPdu Remote