페이지 선택
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
L1901 AT+CVALARM Low and high voltage Alarm
L1902 AT+CVAUXS Set state of the pin named VREG_AUX1
L1903 AT+CVAUXV Set voltage value of the pin named VREG_AUX1
L1904 AT+CADC Read ADC value
L1905 AT+CADC2 Read ADC2 value
L1906 AT+CMTE Control the module whether power shutdown when the module’s temperature upon the critical temperature
L1907 AT+CPMVT Low and high voltage Power Off
L1908 AT+CDELTA Set the module go to recovery mode
L1909 AT+CRIIC Read values from register of IIC device
L1910 AT+CWIIC Write values to register of IIC device
L1911 AT+CBC Read the voltage value of the power supply
L1912 AT+CPMUTEMP Read the temperature of the module
L1913 AT+CFDISK SD Card/EMMC Flash
L1914 AT+CUSBPIDSWITCH Change module’s PID
L1915 AT+IPREX Set local baud rate permanently
L1916 AT+CFGRI Indicate RI when using URC
L1917 AT+CSCLK Enable UART Sleep or always work
L1918 AT+CMUX Enable the multiplexer over the UART
L1919 AT+CGFUNC Enable/Disable the function for the special GPIO
L1920 AT+CGDRT Set the direction of specified GPIO
L1921 AT+CGSETV Set the value of the specified GPIO
L1922 AT+CGGETV Get the value of the specified GPIO
L1923 AT+CGISR Set GPIO interrupt trigger condition

 

 

 

 

 

L1901    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

 

 

 

 

L1902   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.

 

 

 

L1903   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

 

 

 

 

L1904   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

 

 

 

 

L1905   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

 

 

 

 

L1906   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.

 

 

 

 

L1907   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

 

 

 

 

 L1908   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.

 

 

 

 

L1909   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

 

 

 

 

L1910   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

 

 

 

 

L1911   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

 

 

 

 

L1912   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

 

 

 

 

L1913   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

Please insert and mount the SD card before using this command

 

 

.

 

L1914    AT+CUSBPIDSWITCH     Change module’s PID

 

T) AT+CUSBPIDSWITCH=?

+CUSBPIDSWITCH: (9000,9001,9002,9003,9004,9005,9006,9007,9011,9016,9018,9019,9 01A,901B,9020,9021,9022,9023,9024,9025,9026,9027,9028,9029,902A,902B),(0-1),(0-1)

OK

or

ERROR

R) AT+CUSBPIDSWITCH?

+CUSBPIDSWITCH: <pid> OK

or

ERROR

W) AT+CUSBPIDSWITCH=<pid>,

<reservel>,<reservel2>

OK

or

ERROR

  

<pid> This command support pids, 9001 is the default value.
9000,9001,9002,9003,9004,9005,9006,9007,9011,9016,9018,9019,9
01A,901B,9020,9021,9022,9023,9024,9025,9026,9027,9028,9029,90
2A,902B
<reservel> 0 or 1, this value is for the reserve
<reservel2> 0 or 1, this value is for the reserve

 

Example

AT+CUSBPIDSWITCH=?

+CUSBPIDSWITCH: (9000,9001,9002,9003,9004,9005,9006,9007,9011,9016,9018,9019

,901A,901B,9020,9021,9022,9023,9024,9025,9026,9027,9028,902 9,902A,902B),(0-1),(0-1)

 OK

AT+CUSBPIDSWITCH?

+CUSBPIDSWITCH: 9001

 OK

AT+CUSBPIDSWITCH=9001,1,1

OK

 

 

 

 

L1915   AT+IPREX     Set local baud rate permanently

 

T) AT+IPREX=?

+IPREX: (list of supported<speed>s)

OK

R) AT+IPREX?

+IPREX: <speed>

 OK

W)AT+IPREX=<speed>

OK

Or

ERROR

E) AT+IPREX

OK

Note: Set baud rate to default value

  

<speed>

Baud rate per second:

0, 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200,

230400, 460800, 921600, 3000000, 3200000, 3686400

Note: LE20 and LE30 doesn’t support 0.

 

NOTE

Execution Command AT+IPREX is set current value as default vaule

 

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

 

 

 

 

L1916   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

W) AT+CFGRI=<status>,<URC
time>,<SMS time>

OK

or

ERROR

E) AT+CFGRI

OK

  

<status>

0          off

1          on

<URC time>

a numeric parameter which is number of milliseconds to assert RI delay to reset RI.

The range is 10 to 6000.

<SMS time>

a numeric parameter which is number of milliseconds to assert RI delay to reset RI.

The range is 20 to 6000.

 

NOTE

Execution Command AT+CFGRI is set <status>=0 set <URC time>=60 set <SMS time>=120.

 

Example

AT+CFGRI=?

+CFGRI: (0-1),(10-6000),(20-6000)

 OK

AT+CFGRI?

+CFGRI: 0,60,120

 OK

AT+CFGRI=1

OK

AT+CFGRI

OK

 

 

 

 

L1917   AT+CSCLK     Enable UART Sleep or always work

 

T) AT+CSCLK=?

+CSCLK: (range of supported <status>s)

 OK

R) AAT+CSCLK?

+CSCLK: <status>

OK

W) AT+CSCLK=<status>

OK

or

ERROR

E) AT+CSCLK

OK

  

<status>

0         off

1         on

 

NOTE

Execution Command AT+CSCLK is set <status>=0

 

Example

AT+CSCLK=?

+CSCLK: (0-1)

 OK

AT+CSCLK?

+CSCLK: 0

 OK

AT+CSCLK=1

OK

AT+CSCLK

OK

 

 

 

 

L1918   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:  (0),(0),(1-8),(1-1500),(0),(0),(2-1000)

 OK

R) AT+CMUX?

+CMUX: <value>,<subset>,<port_speed>,<N1>,<T1>,<N2>,<T2>

OK

W) AT+CMUX=<value>[,<subse t>

[,<port_speed>[,<N1>[,<T
1>[,<N2>[,<T2>]]]]]]

OK

or

ERROR

  

<value>

0     –     currently only 0 is supported (basic operation mode).

<subset>

Currently omitted

<port_speed>

Currently omitted, you can set speed before enable multiplexer

<N1>

1-1500

<T1>

Currently omitted

<N2>

Currently omitted

<T2>

2-1000

 

Example

AT+CMUX=?

+CMUX:  (0),(0),(1-8),(1-1500),(0),(0),(2-1000)

 OK

AT+CMUX?

+CMUX: 0,0,5,1500,0,0,600

 OK

AT+CMUX=0

OK

 

 

 

 

L1919   AT+CGFUNC     Enable/Disable the function for the special GPIO

SIM7500/SIM7600 supplies many GPIOs,

all of which can be used as General Purpose Input/Output pin, interrupt pin and some of them can be used as function pin.

This command is used to enable/disable the function for the special GPIO.

Please consult the document “SIM7500_SIM7600 Series_GPIO_Application_Note” for more details.

The configuration will be saved automatically

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>,<func
tion>

OK

or

ERROR

  

<GPIO>

7500C/CE GPIO:

3     GPIO3/Ethernet

40   GPIO40/STATUS

44   GPIO44/SD_DETECT

7500A GPIO:

40   GPIO40/STATUS

<function>

0   gpio function.

1    function1

 

NOTE

GPIO40 default function is STATUS

GPIO44 default function is GPIO

If Ethernet hardware has been ready, GPIO3 default function is Ethernet.

Instead, GPIO3 default function is GPIO.

 

Example

AT+CGFUNC=40,1

OK

AT+CGFUNC=40

+CGFUNC: 40,1

OK

 

 

 

 

L1920   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>

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

 

NOTE

The GPIO must be set to GPIO FUNCTION through AT+CGFUNC, then it will set success.

 

Example

AT+CGDRT=43,0

OK

 

 

 

 

 L1921   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> The value is values.GPIO ID, different hardware versions have different
<gpio_hi>

0    Low

1    High

 

NOTE

The GPIO must be set to GPIO FUNCTION through AT+CGFUNC, then it will set success.

 

Example

AT+CGSETV=43,0

OK

 

 

 

L1922   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

1    High

 

NOTE

The GPIO must be set to GPIO FUNCTION through AT+CGFUNC, then it will set success.

 

Example

AT+CGGETV=43

+CGGETV: 43,0

 OK

 

 

 

 

L1924   AT+CGISR     Set GPIO interrupt trigger condition

 The module supplies many GPIOs, all of which can be used as General Purpose Input/Oupt pin, interrupt pin and some of them can be used as function pin.

This command is used to set one GPIO pin as an interrupt source, and then set the detect type [optional] and polarity type[optional], and enable interrupt.

Please consult the document “SIM7500_SIM7600 Series_GPIO_Application_Note” for more details.

 

T) AT+CGISR=?

+CGISR: (list of supported <GPIO>s),<detect>,<polarity>,<URCchar [size(45)]>

OK

R) AT+CGISR=<GPIO>

opened:

+CGISR: <GPIO>,<detect>,<polarity>,<URC>

OK

not opened:

+CGISR: <GPIO>,0

OK

W) AT+CGISR=<GPIO>,<detect>

,<polarity>,[<URC>]

OK

  

<GPIO>

The value is GPIO ID, different hardware versions have different values.

<detect> 0    no detect
1    level detection
2    edge detection
<polarity> 0    low level/edge detection
1    high level/edge detection

<URC>

Your ISR string, the max length of URC string is 45 bytes.

If the length of string more than 45 bytes, it will be auto cute the string.

If not set the string, it will be auto make a string for this setting, the string format is GPIO_<GPIO>_ISR!

 

NOTE

1. if the interruption is triggered SIM7500/SIM7600 will send the following URC to host, URC is your ISR string or GPIO_<GPIO>_ISR

2. If the GPIO use to interruption, before it must be setting on GPIO function and input mode.

For example:

AT+CGFUNC=41,0

AT+CGDRT=41,0

3. If set GPIO to no detect, it will be stop detect interruption and stop send URC,and does not need set <polarity>, <URC>.

4. If set GPIO to detect, the command must be have <polarity> setting.

5. <detect> default value is 0.

 

Example

AT+CGISR=41

+CGISR: 41,1,1,GPIO_41_ISR!    If the pin ISR is opened

 OK

+CGISR: 41,0      If the pin ISR is not opened

 OK

AT+CGISR=41,2,1

OK

AT+CGISR=41,0

OK

 

 

 

 

Adsense

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

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

 

www.simcom.com

 

Viewed Page List