Инструменты пользователя

Инструменты сайта


wiki:sim868

Это старая версия документа!


Команды для SIMCOM sim868

Чтение производителя

AT+CGMI
SIMCOM_Ltd

OK

Чтение модели

AT+CGMM
SIMCOM_SIM868

OK

Чтение IMEI

AT+CGSN
861510030774067

OK

Какой номер у SIM карты

AT+CNUM
+CNUM: "","+79258345948",145,7,4

OK

AT+CPAS AT command returns of the module device status. Possible values are,
0 ready
1 unavailable
2 unknown
3 ringing
4 call in progress
5 asleep

AT+CPAS
+CPAS: 0

OK

AT+CREG AT command gives information about the registration status and access technology of the serving cell.

Possible values of registration status are,
0 not registered, MT is not currently searching a new operator to register to
1 registered, home network
2 not registered, but MT is currently searching a new operator to register to
3 registration denied
4 unknown (e.g. out of GERAN/UTRAN/E-UTRAN coverage)
5 registered, roaming
6 registered for «SMS only», home network (applicable only when indicates E-UTRAN)
7 registered for «SMS only», roaming (applicable only when indicates E-UTRAN)
8 attached for emergency bearer services only (see NOTE 2) (not applicable)
9 registered for «CSFB not preferred», home network (applicable only when indicates E-UTRAN)
10 registered for «CSFB not preferred», roaming (applicable only when indicates E-UTRAN)

Possible values for access technology are,
0 GSM
1 GSM Compact
2 UTRAN
3 GSM w/EGPRS
4 UTRAN w/HSDPA
5 UTRAN w/HSUPA
6 UTRAN w/HSDPA and HSUPA
7 E-UTRAN

AT+CREG?
+CREG: 0,1

OK

AT+CSQ AT command returns the signal strength of the device.
Possible values are,
0 113 dBm or less
1 111 dBm
2…30 109… 53 dBm
31 51 dBm or greater
99 not known or not detectable

AT+CSQ
+CSQ: 20,0

OK

Версия софта в чипе

AT+CGMR
Revision:1418B02SIM868M32

OK

Настройка GPRS: AT+CGATT=1

	AT+SAPBR=3,1,"CONTYPE","GPRS"
	AT+SAPBR=3,1,"APN","internet"
	AT+SAPBR=1,1
	AT+SAPBR=2,1 - response:1,1,"IP address"
AT+CGATT=1
OK
AT+SAPBR=3,1,"CONTYPE","GPRS"
OK
AT+SAPBR=3,1,"APN","internet"
OK
AT+SAPBR=1,1
OK
AT+SAPBR=2,1
+SAPBR: 1,1,"10.217.114.229"

OK
wiki/sim868.1503517298.txt.gz · Последнее изменение: 2017/08/23 22:41 — maxx