SendAtCommand: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (added Category:R2D2 using HotCat) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|- | |- | ||
|SendAtCommand | |SendAtCommand | ||
|Port index | |Port index ATCommand (*) | ||
|Issue an AT Command to the specified module. | |Issue an AT Command to the specified module. | ||
|} | |} | ||
(*) Note that the ATCommand must be entered with quotes | (*) Note that the ATCommand must be entered with quotes if the AT Command itself includes double quotes or spaces. See below. | ||
'''OUTPUT:''' | '''OUTPUT:''' | ||
Response from the modem to the AT command. | |||
'''EXAMPLE:'''<syntaxhighlight lang="text"> | |||
" | ~# SendAtCommand 0, "ATI4" | ||
ATI4 | |||
''' | Quectel | ||
RM500Q-AE | |||
~# | Revision: RM500QAEAAR13A03M4G | ||
OK | |||
</syntaxhighlight>'''OR'''<syntaxhighlight lang="text"> | |||
~# SendAtCommand 0,'AT+QCALLCFG="voice_enable"' | |||
+QCALLCFG: "voice_disable",1 | |||
OK | OK | ||
</syntaxhighlight> | |||
[[Category:GENERAL]] | |||
[[Category:R2D2]] | |||
Latest revision as of 11:26, 27 March 2025
This places an AT Command to the specified modem port.
COMMAND:
Command | Input Arguments | Returns |
---|---|---|
SendAtCommand | Port index ATCommand (*) | Issue an AT Command to the specified module. |
(*) 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