SendAtCommand: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 8: Line 8:
|-
|-
|SendAtCommand
|SendAtCommand
|Port index, ATCommand (*)
|Port index ATCommand (*)
|Issue an AT Command to the specified module.
|Issue an AT Command to the specified module.
|}
|}
Line 18: Line 18:
Response from the modem to the AT command.
Response from the modem to the AT command.


'''EXAMPLE:'''
'''EXAMPLE:'''<syntaxhighlight lang="text">
 
~# SendAtCommand 0 "ATI4"
~# SendAtCommand 0, "ATI4"
 
ATI4
ATI4
Quectel
Quectel
 
RM520N-GL
RM500Q-AE
Revision: RM520NGLAAR03A05M4G
 
Revision: RM500QAEAAR13A03M4G


OK
OK
 
</syntaxhighlight>'''OR'''<syntaxhighlight lang="text">
'''OR'''
~# SendAtCommand 0 'AT+QCALLCFG="voice_disable"'
 
~# SendAtCommand 0,'AT+QCALLCFG="voice_enable"'
 
+QCALLCFG: "voice_disable",1
+QCALLCFG: "voice_disable",1
OK
</syntaxhighlight>


OK
[[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