SendAtCommand: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This command sets/gets GSM auto registration mode. If it is enabled GSM port will automatically try to register to GSM network, otherwise will wait explicit command (SelectGsmOperator) in order to do this. If mode parameter is not specified command will return current auto registration mode. '''COMMAND:''' {| class="wikitable" !Command !Input Arguments !Returns |- |GsmRegistrationMode |Port index, [Registration mode] |Command status or the actual Registration mode...") Tag: 2017 source edit |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This | This places an AT Command to the specified modem port. | ||
'''COMMAND:''' | |||
'''COMMAND:''' | |||
{| class="wikitable" | {| class="wikitable" | ||
!Command | !Command | ||
| Line 13: | Line 7: | ||
!Returns | !Returns | ||
|- | |- | ||
| | |SendAtCommand | ||
|Port index | |Port index ATCommand (*) | ||
|Command | |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:''' | '''OUTPUT:''' | ||
Response from the modem to the AT command. | |||
'''EXAMPLE:'''<syntaxhighlight lang="text"> | |||
" | ~# SendAtCommand 0 "ATI4" | ||
ATI4 | |||
Quectel | |||
RM520N-GL | |||
Revision: RM520NGLAAR03A05M4G | |||
OK | OK | ||
</syntaxhighlight>'''OR'''<syntaxhighlight lang="text"> | |||
~# SendAtCommand 0 'AT+QCALLCFG="voice_disable"' | |||
+QCALLCFG: "voice_disable",1 | |||
OK | |||
</syntaxhighlight> | |||
[[Category:GENERAL]] | |||
[[Category:R2D2]] | |||
Latest revision as of 10:49, 2 February 2026
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
RM520N-GL
Revision: RM520NGLAAR03A05M4G
OK
OR
~# SendAtCommand 0 'AT+QCALLCFG="voice_disable"'
+QCALLCFG: "voice_disable",1
OK