Template:API: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(Created page with "This places an AT Command to the specified modem port. '''COMMAND:''' {| class="wikitable" !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:'''<syntaxhighlight lang="text"> ~# SendAtCommand 0, "...")
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This places an AT Command to the specified modem port.
<Description>


'''COMMAND:'''  
'''COMMAND:'''  
Line 7: Line 7:
!Returns
!Returns
|-
|-
|SendAtCommand
|APIName
|Port index, ATCommand (*)
|Port index, ATCommand (*)
|Issue an AT Command to the specified module.
|Issue an AT Command to the specified module.

Latest revision as of 22:27, 5 June 2024

<Description>

COMMAND:

Command Input Arguments Returns
APIName 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