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

 

Command Description
AT+CVALARM Low and high voltage Alarm
AT+CVAUXS Set state of the pin named VREG_AUX1
AT+CVAUXV Set voltage value of the pin named VREG_AUX1
AT+CADC Read ADC value
AT+CADC2 Read ADC2 value
AT+CMTE Control the module whether power shutdown when the module’s temperature upon the critical temperature
AT+CPMVT Low and high voltage Power Off
AT+CDELTA Set the module go to recovery mode
AT+CRIIC Read values from register of IIC device
AT+CWIIC Write values to register of IIC device
AT+CBC Read the voltage value of the power supply
AT+CPMUTEMP Read the temperature of the module
AT+CFDISK SD Card/EMMC Flash

 

 

 

 

AT+CVALARM     Low And High Voltage Alarm

 

T) AT+CVALARM=?

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

(list of supported high <high voltage>s)

 

OK

R) AT+CVALARM?

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

 

OK

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

OK

or

ERROR

 

 

<enable>

0     Close

1     Open.

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

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

<low voltage>

Between 3300mV and 4000mV.

Default value is 3300.

<high voltage>

Between 4000mV and 4300mV.

Default value is 4300.

 

 

Example

AT+CVALARM?

+CVALARM: 1,3400,4300

OK

 

AT+CVALARM=?

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

OK

 

AT+CVALARM=1,3400,4300

OK

 

 

 

 

AT+CVAUXS     Set State Of The Pin Named VREG_AUX1

 

T) AT+CVAUXS=?

+CVAUXS: (list of supported <state>s)

 

OK

R) AT+CVAUXS?

+CVAUXS: <state>

 

OK

W) AT+CVAUXS=<state>

OK

Or

ERROR

 

 

<state>

0     the pin is closed.

1     the pin is opend(namely, open the pin).

 

 

Example

AT+CVAUXS?

+CVAUXS: 1

OK

 

AT+CVAUXS =1

OK

 

 

NOTE

For SIM7600E-H-M2/SIM7600SA-H-M2/SIM7600A-H-M2, the default value is 0.

 

 

 

 

AT+CVAUXV     Set Voltage Value Of The Pin Named VREG_AUX1

 

T) AT+CVAUXV=?

+CVAUXV: (list of supported <voltage>s)

 

OK

R) AT+CVAUXV?

+CVAUXV: <voltage>

 

OK

W) AT+CVAUXV=<voltage>

OK

or

ERROR

 

 

<voltage>

Voltage value of the pin which is named VREG_AUX1.

The unit is in mV.

And the value must the multiple of 50mv.

 

 

Example

AT+CVAUXV =?

+CVAUXV: (1700-3050)

OK

 

AT+CVAUXV =2800

OK

 

AT+CVAUXV?

+CVAUXV: 2800

OK

 

 

 

 

AT+CADC     Read ADC Value

 

T) AT+CADC=?

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

 

OK

W) AT+CADC=<adc>

+CADC: <value>

 

OK

or

ERROR

 

  

<adc>

ADC type:

0     raw type.

2     voltage type(mv)

<value> Integer type value of the ADC.

 

 

Example

AT+CADC=?

+CADC: (0,2)

OK

 

AT+CADC =0

+CADC: 187

OK

 

 

 

 

AT+CADC2     Read ADC2 Value

  

T) AT+CADC2=?

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

 

OK

W) AT+CADC2=<adc>

+CADC2: <value>

OK

or

ERROR

 

 

<adc>

ADC2 type:

0     raw type.

2     voltage type(mv)

<value> Integer type value of the ADC2.
 

 

Example

AT+CADC2=?

+CADC2: (0,2)

OK

 

AT+CADC2=0

+CADC2: 187

OK

 

 

 

 

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

 

T) AT+CMTE=?

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

 

OK

R) AT+CMTE?

+CMTE: <on/off >

 

OK

W) AT+CMTE=<on/off >

OK

or

ERROR

 

 

<on/off>

0     Disable temperature detection

1     Enable temperature detection

 

 

Example

AT+CMTE?

+CMTE: 1

OK

 

AT+CMTE =1

OK

 

AT+CMTE=?

+CMTE: (0/1)

OK

 

 

NOTE

When temperature is extreme high or low, product will power off.

URCs indicating the alert level “+CMTE:-1” or “+CMTE:1” are intended to enable the user to take appropriate precaution, such as protect the module from exposure to extreme conditions, or save or back up data etc

Level “+CMTE:-2”or “+CMTE:2” URCs are followed by immediate shutdown.

 

 

 

 

AT+CPMVT     Low And High Voltage Power Off

 

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: <enable>,<low voltage>, <high voltage>

 

OK

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

[<high voltage>]

OK

Or

ERROR

 

 

<enable>

0     Close

1     Open.

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

<low voltage>

Between 3200mV and 4000mV.

Default value is 3200.

<high voltage>

Between 4000mV and 4300mV.

Default value is 4300.

 

 

Example

AT+CPMVT=1,3400,4300

OK

 

AT+CPMVT?

+CVALARM: 1,3400,4300

OK

 

AT+CPMVT=?

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

OK

 

 

 

 

 AT+CDELTA     Set The Module Go 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.

 

 

 

 

AT+CRIIC     Read Values From Register Of IIC Device

 

T) AT+CRIIC=? OK
W) AT+CRIIC=<addr>,<reg>,<len>

+CRIIC: <data>

OK

or

ERROR

 

 

<addr>

Device address.

Input format must be hex, such as 0xFF.

<reg>

Register address.

Input format must be hex, such as 0xFF.

<len>

Read length.

Range:1-4; unit:byte.

<data>

Data read.

Input format must be hex, such as 0xFF.

 

 

Example

AT+CRIIC=0x34, 0x02, 2

+CRIIC: 0x01,0x5d

OK

 

 

 

 

AT+CWIIC     Write Values To Register Of IIC Device

  

T) AT+CWIIC=? OK
W) AT+CWIIC=<addr>,<reg>,<data>,<len>

OK

or

ERROR

 

 

<addr>

Device address.

Input format must be hex, such as 0xFF.

<reg>

Register address.

Input format must be hex, such as 0xFF.

<len>

Read length.

Range: 1-4; unit: byte.

<data>

Data written.

Input format must be hex, such as 0xFF – 0xFFFFFFFF.

 

 

Example

AT+CWIIC=0x34, 0x03, 0x5d, 1

OK

 

 

 

 

AT+CBC     Read The Voltage Value Of The Power Supply

  

R) AT+CBC

+CBC: <vol>

OK

or

ERROR

 

 

<vol> The voltage value, such as 3.8.

 

 

Example

AT+CBC

+CBC: 3.591V

OK

 

 

 

 

AT+CPMUTEMP     Read The Temperature Of The Module

 

R) AT+CPMUTEMP

+CPMUTEMP: <temp>

OK

or

ERROR

 

 

<temp> The Temperature value, such as 29.

 

 

Example

AT+CPMUTEMP

+CPMUTEMP: 29

OK

 

 

 

 

AT+CFDISK     SD Card/EMMC Flash

 

T) AT+CFDISK=?

+CFDISK: (1-4)[…]

OK

or

ERROR

R) AT+CFDISK?

+CFDISK: <num>,<size>

OK

or

ERROR

W) AT+CFDISK=<num>[,<size>,…]

OK

or

ERROR

W) (Formatting all partitions) AT+CFDISK

OK

or

ERROR

 

 

<num>

Partition size.

The unit is KB

 

 

Example

AT+CFDISK=?

+CFDISK: (1-4)[…]

OK

 

AT+CFDISK=4,50000,50000,50000

OK

 

AT+CFDISK

OK

 

AT+CFDISK?

+CFDISK: 1,50040

+CFDISK: 2,50048

+CFDISK: 3,50048

+CFDISK: 4,3708288

OK

 

NOTE

The last partition size does not need to be set.

The size of the last partition is the size of the disk remaining.

 

 

 

 

Adsense

EMW3070

Viewed Page List