SendSmsText: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| No edit summary | No edit summary | ||
| Line 11: | Line 11: | ||
| |In case of Error, returns [[R2D2 Error Codes|Error Codes]] | |In case of Error, returns [[R2D2 Error Codes|Error Codes]] | ||
| |} | |} | ||
| '''OUTPUT:''' | '''OUTPUT:''' | ||
| Line 18: | Line 18: | ||
| '''EXAMPLE:'''<syntaxhighlight lang="text"> | '''EXAMPLE:'''<syntaxhighlight lang="text"> | ||
| ~#  | ~# SendSmsText 0 0632279930 "SMS message from BASH script" | ||
| SMS SENT | |||
| Message reference(s): 89 | |||
| </syntaxhighlight>'''OR'''<syntaxhighlight lang="text"> | </syntaxhighlight>'''OR'''<syntaxhighlight lang="text"> | ||
| ~#  | ~# SendSmsText 0 0632279930 "SMS message from BASH script" +333600100100 | ||
| SMS SENT | |||
| Message reference(s): 54 | |||
| </syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 22:40, 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 | 
OUTPUT:
Response from the modem to the AT command.
EXAMPLE:
~# SendSmsText 0 0632279930 "SMS message from BASH script"
SMS SENT
Message reference(s): 89
OR
~# SendSmsText 0 0632279930 "SMS message from BASH script" +333600100100
SMS SENT
Message reference(s): 54