SendAtCommand: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:


'''EXAMPLE:'''<syntaxhighlight lang="text">
'''EXAMPLE:'''<syntaxhighlight lang="text">
~# SendAtCommand 0, "ATI4"
ATI4
ATI4
Quectel
Quectel
Line 24: Line 25:
Revision: RM500QAEAAR13A03M4G
Revision: RM500QAEAAR13A03M4G
OK
OK
</syntaxhighlight>~# SendAtCommand 0, "ATI4"
</syntaxhighlight>'''OR'''<syntaxhighlight lang="text">
 
ATI4
 
Quectel
 
RM500Q-AE
 
Revision: RM500QAEAAR13A03M4G
 
OK
 
'''OR'''
 
~# SendAtCommand 0,'AT+QCALLCFG="voice_enable"'
~# SendAtCommand 0,'AT+QCALLCFG="voice_enable"'
+QCALLCFG: "voice_disable",1
+QCALLCFG: "voice_disable",1
OK
OK
</syntaxhighlight>

Revision as of 23:16, 4 June 2024

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