Перейти к содержанию

Навигация

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

Обновление для соответствия новой версии исходной страницы.
(Новая страница: «You need the GSM line discipline to be supportred in the kernel (included as a module in the standard firmware). A special daemon<b> cmux</b> sends the modem into…»)
(Обновление для соответствия новой версии исходной страницы.)
 
(не показано 8 промежуточных версий 1 участника)
Строка 1: Строка 1:
<languages/>
<languages/>
<b> Modem operation in CMUX mode is an experimental function and may not work "out of the box". Performance is not guaranteed. </b>
<b> Modem operation in CMUX mode is an experimental function and may not work "out of the box". Performance is not guaranteed. </b>


he modem supports multiplexing mode - creating virtual ports through which you can simultaneously work with the modem. For example, through one port you can open a PPP session for GPRS, and through another you can receive and send SMS, check the balance, etc.
he modem supports multiplexing mode - creating virtual ports through which you can simultaneously work with the modem. For example, through one port you can open a PPP session for GPRS, and through another you can receive and send SMS, check the balance, etc.
Строка 7: Строка 6:
You need the GSM line discipline to be supportred in the kernel (included as a module in the standard firmware). A special daemon<b> cmux</b> sends the modem into CMUX mode, then creates four virtual ports, /dev/ttyGSM[1-4] . <b>The closure of the demon cmux to close all virtual ports will lead to a kernel panic!</b>
You need the GSM line discipline to be supportred in the kernel (included as a module in the standard firmware). A special daemon<b> cmux</b> sends the modem into CMUX mode, then creates four virtual ports, /dev/ttyGSM[1-4] . <b>The closure of the demon cmux to close all virtual ports will lead to a kernel panic!</b>


===Daemon cmux===


[https://github.com/contactless/cmux/ Repository]


===Демон cmux===
Original author: [https://github.com/Rtone/cmux]
 
[https://github.com/contactless/cmux/ Репозитарий]
 
Оригинальный автор: [https://github.com/Rtone/cmux]
 
Демон установлен по-умолчанию как  "/usr/bin/cmux", доступен в пакете cmux.
Скачать бинарник демона можно [https://github.com/contactless/cmux/releases/tag/0.3 здесь]


The daemon is installed by default as "/usr/bin/cmux", available in the cmux package. Download the binary of the daemon [https://github.com/contactless/cmux/releases/tag/0.3 here]


===Пример работы===
===Example of work===


Включаем модем:
Turn on the modem:
<pre>
<pre>
root@wirenboard:~# wb-gsm on
root@wirenboard:~# wb-gsm on
</pre>
</pre>


Запускаем демон cmux:
Running the cmux daemon:
<pre>
<pre>
root@wirenboard:~# cmux
root@wirenboard:~# cmux
Строка 43: Строка 38:
</pre>
</pre>


Теперь общение с модемом можно производить в любом из каналов /dev/ttyGSMx
Now you can communicate with the modem in any of the channels /dev/ttyGSMx
wb_editors
14 355

правок