SendMmsAndWaitDelivery: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
(Created page with " This command allows to accept an incoming call once presented on the specified port. '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |AcceptCall |PortIndex |Error Code in case of error. |} '''OUTPUT''' Command status: <br> "%s\n", status (CONNECTED or NO INCOMING CALL) '''EXAMPLE''' <syntaxhighlight lang="text"> ~# AcceptCall 0<br> CONNECTED<br> ~# AcceptCall 2<br> NO INCOMING CALL </syntaxhighlight> Category:R2D2|R2...")
Tag: 2017 source edit
 
No edit summary
Line 1: Line 1:


This command allows to accept an incoming call once presented on the specified port.
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 8: Line 12:
!Returns
!Returns
|-
|-
|AcceptCall
|'''SendMmsAndWaitDelivery'''
|PortIndex
|Port index, Destination number, FilePath1, [FilePath2, FilePath3, FilePath4, Subject, Timeout, CcNUmbers, BccNUmbers]
|[[R2D2 Error Codes|Error Code]] in case of error.
|[[R2D2 Error Codes|Error Code]] in case of error.
|}
|}


'''OUTPUT'''
'''OUTPUT'''<br>None
Command status: <br>
"%s\n", status (CONNECTED or NO INCOMING CALL)


'''EXAMPLE''' <syntaxhighlight lang="text">
'''EXAMPLE''' <syntaxhighlight lang="text">
 
~# SendMmsAndWaitDelivery0 0612345678 "MMS message from me"
~# AcceptCall 0<br>
SMS SENT
CONNECTED<br>
 
~# AcceptCall 2<br>
NO INCOMING CALL
 
</syntaxhighlight>
</syntaxhighlight>
[[Category:R2D2|R2D2]]
[[Category:R2D2|R2D2]]

Revision as of 09:10, 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
SendMmsAndWaitDelivery Port index, Destination number, FilePath1, [FilePath2, FilePath3, FilePath4, Subject, Timeout, CcNUmbers, BccNUmbers] Error Code in case of error.

OUTPUT
None

EXAMPLE

~# SendMmsAndWaitDelivery0 0612345678 "MMS message from me"
SMS SENT