SendMmsText: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
(Created page with " 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 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. Command exits as soon as the MMS is submitted to MMSC. '''COMMAND''' {|...")
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
Line 12: Line 12:
!Returns
!Returns
|-
|-
|'''SendMmsAndWaitDelivery'''
|'''SendMmsText'''
|Port index, Destination number, FilePath1, [FilePath2, FilePath3, FilePath4, Subject, Timeout, CcNUmbers, BccNUmbers]  
|Port index, Destination number, MMS text, [Subject, Timeout, CcNUmbers, BccNUmbers]  
|[[R2D2 Error Codes|Error Code]] in case of error.
|[[R2D2 Error Codes|Error Code]] in case of error.
|}
|}
Line 20: Line 20:


'''EXAMPLE''' <syntaxhighlight lang="text">
'''EXAMPLE''' <syntaxhighlight lang="text">
~# SendMmsAndWaitDelivery0 0612345678 "MMS message from me"
~# SendSMmsText 0 0612345678 "MMS message"
SMS SENT
 
~# SendSMSText 0 0617253689 "MMS message" "MMS Test"
SMS SENT
SMS SENT
</syntaxhighlight>
</syntaxhighlight>
[[Category:R2D2|R2D2]]
[[Category:R2D2|R2D2]]
[[Category:MMS]]
[[Category:MMS]]

Latest revision as of 09:14, 2 April 2025

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 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. Command exits as soon as the MMS is submitted to MMSC.

COMMAND

Command Line Arguments Returns
SendMmsText Port index, Destination number, MMS text, [Subject, Timeout, CcNUmbers, BccNUmbers] Error Code in case of error.

OUTPUT
None

EXAMPLE

~# SendSMmsText 0 0612345678 "MMS message"
SMS SENT

~# SendSMSText 0 0617253689 "MMS message" "MMS Test"
SMS SENT