SendMms

From Opale Wiki
Jump to navigation Jump to search

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.

MMS is sent to the specified destination number, with up to 4 media files. This command allows optionally to set a subject and CC number and BCC back as destinations.


COMMAND

Command Line Arguments Returns
SendMms Port index, Destination number, FilePath1, [FilePath2, FilePath3, FilePath4, Subject, Timeout, CcNUmbers, BccNUmbers] Error Code in case of error.

OUTPUT

None

EXAMPLE

~# SendSMmsText 0 0612345678 "/mnt/sdcard/data/testmms"
SMS SENT