페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in pages
AT Commands For Hardware Related

 

 

No Command Description
F2001 AT+CVALARM Set overvoltage and undervoltage alarm
F2002 AT+CADC Read the value of ADC
F2003 AT+CADC2 Read the value of ADC2
F2004 AT+CMTE Set the power action when over the critical temperature
F2005 AT+CPMVT Set the power action when overvoltage and undervoltage
F2006 AT+CDELTA Set module reboot to recovery mode
F2007 AT+CBC Read the voltage value of the power supply
F2008 AT+CPMUTEMP Read the temperature of the modules
F2009 AT+CUSBCFG Set usbid,adb mode,edl mode and bootloader mode
F2010 AT+CCPUTEMP Read the temperature of CPU different zones
F2011 AT+CCUART Open or close the main uart

 

 

 

 

F2001    AT+CVALARM     Low And High Voltage Alarm

This command is used to open or close the low voltage alarm function.

T) AT+CVALARM=?

+CVALARM: (list of supported <enable>s), (list of supported <low voltage>s),

(range of supported <high_voltage>s)

 OK

R) AT+CVALARM?

+CVALARM: <enable>,<low voltage>,<high voltage>

 OK

or

ERROR

W) AT+CVALARM=<enable>[,<low voltage>],[<high voltage>]

OK

or

ERROR

  

<enable> 0 close alarm(Default)
1 open alarm
<low voltage>

Integer type. The undervoltage value of the module.

The parameter range is 3300mV to 4000mV depending on hardware design.

3300mV(Default)

<high voltage>

Integer type. The overvoltage value of the module.

The parameter range is 4001mV to 4300mV depending on hardware design.

4300mV(Default)

 

Example

AT+CVALARM=?

+CVALARM: (0,1),(3300-4000),(4001-4300)

OK

AT+CVALARM?

+CVALARM: 1,3400,4300

OK

AT+CVALARM=1,3400,4300

OK

 

NOTE

If voltage < <low voltage>, it will report “UNDER-VOLTAGE WARNNING” every 10s. If voltage > <high voltage>,

it will report “OVER-VOLTAGE WARNNING” every 10s.

 

 

 

 

 

 

F2002   AT+CADC     Read the value of ADC

This command is used to read the ADC value from modem. ME supports 2 types of value, which are raw type and voltage type.

T) AT+CADC=?

+CADC: (range of supported <adc>s)

 OK

W) AT+CADC=<adc>

+CADC: <value>

OK

or

ERROR

  

<adc>

0    raw data type

2   voltage type in mV

<value> Integer type

 

Example

AT+CADC=?

+CADC: (0,2)

OK

AT+CADC =0

+CADC: 187

OK

 

 

 

 

F2003   AT+CADC2     Read the value of ADC2

This command is used to read the ADC2 value from modem. ME supports 2 types of value, which are raw type and voltage type

T) AT+CADC2=?

+CADC2: (list of supported <adc>s)

 OK

W) AT+CADC2=<adc>

+CADC2: <value>

OK

or

ERROR

  

<type>

0       raw data type

2       voltage type in mV

<value> Integer type value of the ADC2.

 

Example

AT+CADC2=?

+CADC2: (0,2)

OK

AT+CADC2=0

+CADC2: 187

OK

 

 

 

 

F2004   AT+CMTE     Control The Module Whether Power Shutdown When The Module’s Temperature Upon The Critical Temperature

This command is used to control the module whether power off when temperature upon the critical temperature.

T) AT+CMTE=?

+CMTE: (list of supported<on/off>s)

 OK

R) AT+CMTE?

+CMTE: <power_off>

 OK

or

ERROR

W) AT+CMTE=<on/off >

OK

or

ERROR

  

<power_off> 0 no action(Default)
1 power off

 

Example

AT+CMTE=?

+CMTE: (0,1)

OK

AT+CMTE?

+CMTE: 1

OK

AT+CMTE=0

OK

 

 

 

 

 

L1907   AT+CPMVT     Set the power action when overvoltage and undervoltage

This command is used to open or close the power off action when undervoltage and overvoltage.

T) AT+CPMVT=?

+CPMVT: (list of supported <enable>s), (list of supported <low voltage>s),

(list of supported <high voltage>s)

 OK

R) AT+CPMVT?

+CPMVT: <power_off>,<low voltage>, <high voltage>

 OK

Or

ERROR

W) AT+CPMVT=<enable>[,<low voltage>],

[<high voltage>]

OK

Or

ERROR

  

<power_off>

0 no action(Default)

1 power off

<low voltage>

Integer type. The undervoltage value of the module.

The parameter range is 3200mV to 4000mV depending on hardware design.

3200mV(Default)

<high voltage>

Integer type. The overvoltage value of the module.

The parameter range is 4001mV to 4300mV depending on hardware design.

4300mV(Default)

 

Example

AT+CPMVT=?

+CPMVT: (0,1),(3200-4000),(4001-4300)

OK

AT+CPMVT?

+CPMVT: 1,3400,4300

OK

AT+CPMVT=1

OK

 

 NOTE

If voltage < <low voltage>, it will report “UNDER-VOLTAGE WARNNING POWER DOWN” and power

off the module. If voltage > <high voltage>, it will report “OVER-VOLTAGE WARNNING POWER DOWN” and power off the module.

 

 

 

 

 F2006   AT+CDELTA     Set module reboot to recovery mode

 

W) AT+CDELTA

OK

or

ERROR

 

Example

AT+CDELTA

OK

 

NOTE

the command will write flag to the module and reboot the module, then the module will reboot and read the flag and enter recovery mode to update the firmware.

 

 

 

 

F2007   AT+CBC     Read The Voltage Value Of The Power Supply

  

R) AT+CBC

+CBC: <value>

OK

or

ERROR

  

<value> The voltage value, such as 3.8.

 

Example

AT+CBC

+CBC: 3.657V

OK

 

 

 

 

F2008   AT+CPMUTEMP     Read The Temperature Of The Module

 

R) AT+CPMUTEMP

+CPMUTEMP: <temp>

OK

or

ERROR

  

<temp> Char type

 

Example

AT+CPMUTEMP

+CPMUTEMP: 28

OK

 

 

 

 

F2009   AT+CUSBCFG     Set usbid,adb mode,edl mode and bootloader mode

 

T) AT+CUSBCFG=?

BOOTLDR

BOOTEDL

USBADB: (list of supported <adb_state>s)

USBID: <vendor_id>,(list of supported <product_id>s)

OK

R) AAT+CUSBCFG?

USBADB: <adb_state>

USBID: <vendor_id>,<product_id>

OK

or

ERROR

 Switch to fastboot port

W) AT+CUSBCFG=bootldr

No Responses

Switch to 9008 port

W) AT+CUSBCFG=bootedl

No Responses
Open/close adb port
W) AT+CUSBCFG=usbadb,<ad
b_state>

OK

Or

ERROR

Modify usb pid/vidt
W) AT+CUSBCFG=usbid,<vend
or_id>,<product_id>

OK

Or

ERROR

Query usb mode

W) AT+CUSBCFG=USBMODE

USBMODE: <usb_state>

OK

or

ERROR

E) AT+CUSBCFG OK

  

<vendor_id> 1E0E
<product_id>

9001

9011

901E

9003

<adb_state>

0    Close ADB port

1    Open ADB port

<usb_state>

USB3.0

USB2.0

 

Example

AT+CUSBCFG=? BOOTLDR BOOTEDL USBADB: (0,1)

USBID: 1E0E,(9001,9011,901E,9003)

OK

AT+CUSBCFG? USBADB: 0

USBID: 0X1E0E,0X9001

OK

AT+CUSBCFG=bootldr

(NO RESPONSES)

AT+CUSBCFG=bootedl

(NO RESPONSES)

AT+CUSBCFG=usbadb,1

OK

AT+CUSBCFG=usbid,1e0e,9011

OK

AT+CUSBCFG=usbmode USBMODE: USB3.0

OK

 

NOTE

1. When default composition is 9011 , you may need to execute AT+NETACT=1 to turn on network.

After AT+CUSBCFG=usbadb,1/0 not need to excute AT+CRESET

2. AT+CUSBCFG=bootldr and AT+CUSBCFG=bootedl no response,

when use those commands,the device directly enters the corresponding mode.

 

 

 

F2010   AT+CCPUTEMP     Read the temperature of CPU different zones

 

T) AT+CCPUTEMP=?

+CCPUTEMP: (0-6)

 OK

W) AT+CCPUTEMP=<zone>

+CCPUTEMP: <temp>

OK

or

ERROR

  

<temp> int type
<zone> 0-6

 

Example

AT+CCPUTEMP=2

+CCPUTEMP: 28

OK

 

 

 

 

 

F2011   AT+CCUART     Open or close the main uart

 

T) AT+CCUART=?

+CCUART: (0-1)

 OK

W) AT+CCUART=<on/off>

OK

or

ERROR

R) AT+CCUART?

+CCUART: <on/off>

OK

orERROR

E) AT+CCUART OK
Parameter Saving Mode AUTO_SAVE_REBOOT

  

<on/off>

on    1

off    0

 

Example

AT+CCUART=1 OK AT+CCUART?

+CCUART: 0

OK

 

 NOTE

1.The M2 hardware and open SDK main uart default is close.

 

 

 

 

 

Adsense

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

 5G/LTE/CAT-M1/NB-IoT

 

www.simcom.com

 

Viewed Page List