Modem-stretch/en: различия между версиями

Новая страница: «Modem control pins PWRKEY and RESET are also connected to the processor, you can turn off or restart the modem using them. Usually you do not need to work with th…»
(Новая страница: «Inside the controller, the modem is connected to the processor in one of two ways: *via UART port (device ''/dev/ttyGSM ''(previously: ''/dev/ttyAPP0'')) - all mo…»)
(Новая страница: «Modem control pins PWRKEY and RESET are also connected to the processor, you can turn off or restart the modem using them. Usually you do not need to work with th…»)
Строка 21: Строка 21:
You can work with the modem at a low level by sending commands to the port ''/dev/ttyygsm'' or ''/dev/ttyACM0'', respectively. For 3G-connection port UART is not suitable due to the bandwidth limitations of the UART-channel, you should use ACM-port ''/dev/ttyACM0''.
You can work with the modem at a low level by sending commands to the port ''/dev/ttyygsm'' or ''/dev/ttyACM0'', respectively. For 3G-connection port UART is not suitable due to the bandwidth limitations of the UART-channel, you should use ACM-port ''/dev/ttyACM0''.


Также к процессору подключены управляющие пины модема PWRKEY и RESET, с помощью которых можно выключить или перезагрузить модем. Обычно работать с ними напрямую не требуется - перезагрузка производится утилитой '''wb-gsm''' (смотрите ниже), но также реализован прямой доступ к этим контактам через GPIO (подробнее читайте [[Special:MyLanguage/GPIO|GPIO]], ищите в таблице соответствующие названия).
Modem control pins PWRKEY and RESET are also connected to the processor, you can turn off or restart the modem using them. Usually you do not need to work with them directly - the reboot is performed by the '''wb-gsm''' utility (see below), but also direct access to these contacts via GPIO is implemented (read more about [[GPIO/en|GPIO]], look for the corresponding names in the table).




12 063

правки