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

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


wiki:sim868

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

Настройки GSM

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

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

Настройки GPS

Получение координат по триангуляции:

AT+CIPGSMLOC=1,1
+CIPGSMLOC: 0,37.867207,55.691807,2017/08/23,19:42:06

OK

Информацию о ближайших БС, видимых модемом, можно следующим образом:

at+ceng=1
OK
at+ceng?
+CENG: 1,0

+CENG: 0,"0641,11,00,250,99,09,4062,06,00,39a8,255"
+CENG: 1,"0073,23,38,250,99,39a8"
+CENG: 2,"0070,23,24,250,99,39a8"
+CENG: 3,"0084,19,19,250,99,39a8"
+CENG: 4,"0588,10,39,250,99,39a1"
+CENG: 5,"0618,03,21,250,99,39a8"
+CENG: 6,"0000,00,00,000,00,0"

OK

Turn on GNSS power

AT+CGNSPWR=1
OK

Define the last NMEA sentence that parsed

AT+CGNSSEQ=”RMC”

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