SendSmsText: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
|SendSmsText | |SendSmsText | ||
|Port index, Destination number, SMS text, [SMSC number, Timeout)] | |Port index, Destination number, SMS text, [SMSC number, Timeout)] | ||
|In case of Error, returns R2D2 Error Codes | |In case of Error, returns [[R2D2 Error Codes|Error Codes]] | ||
|} | |} | ||
(*) Note that the ATCommand must be entered with quotes if the AT Command itself includes double quotes or spaces. See below. | (*) Note that the ATCommand must be entered with quotes if the AT Command itself includes double quotes or spaces. See below. |
Revision as of 22:38, 5 June 2024
This command send a text SMS to a specified destination number.
COMMAND:
Command | Input Arguments | Returns |
---|---|---|
SendSmsText | Port index, Destination number, SMS text, [SMSC number, Timeout)] | In case of Error, returns Error Codes |
(*) Note that the ATCommand must be entered with quotes if the AT Command itself includes double quotes or spaces. See below.
OUTPUT:
Response from the modem to the AT command.
EXAMPLE:
~# SendAtCommand 0, "ATI4"
ATI4
Quectel
RM500Q-AE
Revision: RM500QAEAAR13A03M4G
OK
OR
~# SendAtCommand 0,'AT+QCALLCFG="voice_enable"'
+QCALLCFG: "voice_disable",1
OK