wiki:sim868
Различия
Показаны различия между двумя версиями страницы.
| Следующая версия | Предыдущая версия | ||
| wiki:sim868 [2017/08/23 22:29] – создано maxx | wiki:sim868 [2017/08/23 22:56] (текущий) – maxx | ||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| ====== Команды для SIMCOM sim868 ====== | ====== Команды для SIMCOM sim868 ====== | ||
| + | ===== Настройки GSM ===== | ||
| + | |||
| Чтение производителя | Чтение производителя | ||
| < | < | ||
| Строка 21: | Строка 23: | ||
| OK | OK | ||
| </ | </ | ||
| + | Какой номер у SIM карты | ||
| + | < | ||
| + | AT+CNUM | ||
| + | +CNUM: ""," | ||
| + | |||
| + | 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/ | ||
| + | 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", | ||
| + | 10 registered for "CSFB not preferred", | ||
| + | |||
| + | 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: | ||
| + | |||
| + | OK | ||
| + | </ | ||
| + | Настройка GPRS: AT+CGATT=1 | ||
| + | AT+SAPBR=3, | ||
| + | AT+SAPBR=3, | ||
| + | AT+SAPBR=1, | ||
| + | AT+SAPBR=2, | ||
| + | |||
| + | < | ||
| + | AT+CGATT=1 | ||
| + | OK | ||
| + | AT+SAPBR=3, | ||
| + | OK | ||
| + | AT+SAPBR=3, | ||
| + | OK | ||
| + | AT+SAPBR=1, | ||
| + | OK | ||
| + | AT+SAPBR=2, | ||
| + | +SAPBR: 1, | ||
| + | |||
| + | OK | ||
| + | </ | ||
| + | |||
| + | ===== Настройки GPS ===== | ||
| + | Получение координат по триангуляции: | ||
| + | < | ||
| + | AT+CIPGSMLOC=1, | ||
| + | +CIPGSMLOC: 0, | ||
| + | |||
| + | OK | ||
| + | </ | ||
| + | Информацию о ближайших БС, видимых модемом, | ||
| + | < | ||
| + | at+ceng=1 | ||
| + | OK | ||
| + | at+ceng? | ||
| + | +CENG: 1,0 | ||
| + | |||
| + | +CENG: 0," | ||
| + | +CENG: 1," | ||
| + | +CENG: 2," | ||
| + | +CENG: 3," | ||
| + | +CENG: 4," | ||
| + | +CENG: 5," | ||
| + | +CENG: 6," | ||
| + | |||
| + | OK | ||
| + | </ | ||
| + | Turn on GNSS power | ||
| + | < | ||
| + | AT+CGNSPWR=1 | ||
| + | OK | ||
| + | </ | ||
| + | Define the last NMEA sentence that parsed | ||
| + | < | ||
| + | AT+CGNSSEQ=”RMC” | ||
| + | |||
| + | OK | ||
| + | </ | ||
| + | |||
wiki/sim868.1503516554.txt.gz · Последнее изменение: 2017/08/23 22:29 — maxx