SendMmsTextAndWaitDelivery
This command sends a specified MMS message from the specified GSM port.
Data session should be UP on the specified GSM port with appropriate APN and MMS parameters set to send MMS out.
This command sends MMS text to the specified destination number, with specified text (entered between double quotes, coded as UTF-8), from the specified GSM port. The MMS title can be specified as an optional parameter. For this MMS the Delivery Report is requested. Command waits until the SMS Delivery Report is received or optional timeout (entered in seconds) expired
COMMAND
Command | Line Arguments | Returns |
---|---|---|
SendMmsTextAndWaitDelivery | Port index, Destination number, MMS text, [Subject, Timeout] | Error Code in case of error. |
OUTPUT
Command status in the following format:
"%s\n", command_status
EXAMPLE
~# SendMmsTextAndWaitDelivery 0 0612345678"MMS message"
DELIVERY REPORT RECEIVED
~# SendMmsTextAndWaitDelivery 0 0612345678 "MMS message" "Title" 120
TIMEOUT EXPIRED