AT Commands For Hardware
No | Command | Description |
F1901 | AT+IPREX | Set UART local baud rate permanently |
F1902 | AT+CFGRI | Indicate RI when using URC |
F1903 | AT+CSCLK | Control UART sleep |
F1904 | AT+CMUX | Enable the multiplexer over the UART |
F1905 | AT+CGFUNC | Enable/disable the function for the special GPIO |
F1906 | AT+CGDRT | Set the direction of specified GPIO |
F1907 | AT+CGSETV | Set the value of specified GPIO |
F1908 | AT+CGGETV | Get the value of specified GPIO |
F1909 | AT+CPCIEMODE | Get or set the mode of PCIE |
F1901 AT+IPREX Set UART local baud rate permanently
T) AT+IPREX=? |
+IPREX: (list of supported<speed>s) OK |
R) AT+IPREX? |
+IPREX: <speed> OK Or ERROR |
W)AT+IPREX=<speed> |
OK Or ERROR |
E) AT+IPREX |
OK Or ERROR |
<speed> |
Baud rate per second: 0, 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 3000000, 3200000, 3686400 |
Example |
AT+IPREX? +IPREX: 115200 OK AT+IPREX=? +IPREX: (0,300,600,1200,2400,4800,9600,19200,38400,57600,115200,230400,460800,921600, 3000000,3200000,3686400) OK AT+IPREX=115200 OK |
F1902 AT+CFGRI Indicate RI when using URC
This command is used to configure whether pulling down <URC time>milliseconds the RI pin of UART when URC reported.
If <status> is 1, host may be wake up by RI pin, add setting <URC time>, <SMS time>pulling down time of RI pin.
T) AT+CFGRI=? |
+CFGRI: (range of supported <status>s),(range of supported<URC time>s), (range of supported <SMS time>s) OK |
R) AT+CFGRI? |
+CFGRI: <status>,<URC time>,<SMS time> OK or ERROR |
W) AT+CFGRI=<status>,<URC time>,<SMS time> |
OK or ERROR |
E) AT+CFGRI |
OK or ERROR |
Parameter Saving Mode |
NO_SAVE |
<status> |
0 off 1 on |
<URC time> |
Integer type. Which is number of milliseconds to assert RI pin. The parameter range is 10 to 6000. 60 (Default) |
<SMS time> |
Integer type. Which is number of milliseconds to assert RI pin. The parameter range is 20 to 6000. 120 (Default) |
NOTE
Execution Command AT+CFGRI is set <status>=0 set <URC time>=60 set <SMS time>=120.
Example |
AT+CFGRI? +CFGRI: 0,60,120 OK AT+CFGRI=? +CFGRI: (0-1),(10-6000),(20-6000) OK AT+CFGRI=1 OK AT+CFGRI OK |
F1903 AT+CSCLK Enable UART Sleep or always work
T) AT+CSCLK=? |
+CSCLK: (range of supported <status>s) OK |
R) AT+CSCLK? |
+CSCLK: <status> OK or ERROR |
W) AT+CSCLK=<status> |
OK or ERROR |
E) AT+CSCLK |
OK or ERROR |
<status> |
0 off 1 on |
Example |
AT+CSCLK=? +CSCLK: (0-1) OK AT+CSCLK? +CSCLK: (0-1) OK AT+CSCLK=1 OK AT+CSCLK OK |
F1904 AT+CMUX Enable the multiplexer over the UART
This command is used to enable the multiplexer over the UART, after enabled four virtual ports can be used as AT command port or MODEM port,
the physical UART can no longer transfer data directly under this case.
By default all of the four virtual ports are used as AT command port. Second serial port is not support this command
T) AT+CMUX=? |
+CMUX: (range of supported <mode>s),(range of supported <subset>s), (range of supported <port_speed>s),(range of supported <N1>s), (range of supported <T1>s),(range of supported <N2>s), (range of supported <T2>s) or ERROR |
R) AT+CMUX? |
+CMUX: <value>,<subset>,<port_speed>,<N1>,<T1>,<N2>,<T2> OK or ERROR |
W) AT+CMUX=<value>[,<subse t> [,<port_speed>[,<N1>[,<T |
OK or ERROR |
Parameter Saving Mode |
NO_SAVE |
<mode> |
0 basic mode (default) |
<subset> |
0 UIH frame type (default) |
<port_speed> |
1-8 CMUX always use current bitrate, the value only use for compatible. 1 9600 bit/s 2 19200 bit/s 3 38400 bit/s 4 57600 bit/s 5 115200 bit/s 6 230400 bits/s 7 460800 bits/s 8 921600 bits/s The default value is 5(115200 bit/s). |
<N1> |
Integer type. Max frame size in bytes in Information field. The parameter range is 1 to 1500. 118 bytes (Default) |
<T1> |
Time UE waits for an acknowledgement before resorting to other action. (Don’t Support Setting Currently) |
<N2> | The max re-tries. (Don’t Support Setting Currently) |
<T2> |
Integer type. The time in ms mux control channel waits before re-transmitting a command. The parameter range is 2 to 1000. The default value is 600,the mean is 6000 ms (Default) |
Example |
AT+CMUX? +CMUX: 0,0,5,118,0,0,600 OK AT+CMUX=? +CMUX: (0),(0),(1-8),(1-1500),(0),(0),(2-1000) OK |
F1905 AT+CGFUNC Enable/Disable the function for the special GPIO
T) AT+CGFUNC=? |
+CGFUNC: (list of supported <GPIO>s),(list of supported <function>s) OK |
R) AT+CGFUNC=<GPIO> |
+CGFUNC: <GPIO>,<function> OK or ERROR |
W) AT+CGFUNC=<GPIO>,<function> |
OK or ERROR |
<GPIO> |
Different hardware versions have the different values |
<function> |
GPIO function. 0 function1 1 function2 |
Example |
AT+CGFUNC=? +CGFUNC: (38,39,40),(0-1) OK AT+CGFUNC=40 +CGFUNC: 40,0 OK AT+CGFUNC=40,1 OK |
F1906 AT+CGDRT Set the direction of specified GPIO
This command is used to set the specified GPIO to input or output state.
If setting to input state, then this GPIO can not be set to high or low value.
T) AT+CGDRT=? |
+CGDRT: (list of supported <GPIO>s),(list of supported <gpio_io >s) OK |
R) AT+CGDRT=<GPIO>,<gpio_io> |
+CGDRT: <gpio>,<gpio_io> OK Or ERROR |
W) AT+CGDRT=<GPIO> |
OK Or ERROR |
<GPIO> | The value is values.GPIO ID, different hardware versions have different |
<gpio_io> |
0 in 1 out |
Example |
AT+CGDRT=40,0 OK |
F1907 AT+CGSETV Set the value of the specified GPIO
This command is used to set the value of the specified GPIO to high or low.
T) AT+CGSETV=? |
+CGSETV: (list of supported <GPIO>s),(list of supported<gpio_hl >s) OK |
W) AT+CGSETV=<GPIO>,<gpio_hl> |
OK or ERROR |
<GPIO> | Different hardware versions have the different values. |
<gpio_hi> |
0 Low Level 1 High Level |
Example |
AT+CGSETV=? +CGSETV: (38,39,40),(0-1) OK AT+CGSETV=40,1 OK |
F1908 AT+CGGETV Get the value of the specified GPIO
This command is used to get the value (high or low) of the specified GPIO.
T) AT+CGGETV=? |
+CGGETV: (list of supported <GPIO>s) OK |
W) AT+CGGETV=<GPIO> |
+CGGETV: <GPIO>,<GPIO_HL> OK or ERROR |
<GPIO> | The value is values.GPIO ID, different hardware versions have different |
<gpio_hi> |
0 Low Level 1 High Level |
Example |
AT+CGGETV=? +CGGETV: (38,39,40) OK AT+CGGETV=40 +CGGETV: 40,1 OK |
F1909 AT+CPCIEMODE Get or set the mode of PCIE
This command use to set or get PCIE mode,the command only support on M.2 board,
when the AT setting is successful, the module will be restarted.
T) AT+CPCIEMODE=? |
+CPCIEMODE: (list of supported <mode>s) OK |
R) AT+CPCIEMODE? |
+CPCIEMODE: <mode> OK or ERROR |
W) AT+CPCIEMODE=<mode> |
OK or ERROR |
<GPIO> |
EP EP mode HOST HOST mode |
Example |
AT+CPCIEMODE=? +CPCIEMODE: (EP,HOST) OK AT+CPCIEMODE=EP OK |