Доступ к порту RS-485 контроллера Wiren Board с компьютера/en: различия между версиями

Новая страница: «Run this commands on Wiren Board from root access: <pre> apt-get install socat service wb-mqtt-serial stop </pre> In older versions of controllers, use the ''…»
(Новая страница: «Let's say the Wiren Board has 192.168.3.12 IP address.»)
(Новая страница: «Run this commands on Wiren Board from root access: <pre> apt-get install socat service wb-mqtt-serial stop </pre> In older versions of controllers, use the ''…»)
Строка 4: Строка 4:
Let's say the Wiren Board has 192.168.3.12 IP address.
Let's say the Wiren Board has 192.168.3.12 IP address.


Выполняем на Wiren Board от root:
Run this commands on Wiren Board from root access:
<pre>
<pre>
apt-get install socat
apt-get install socat
service wb-mqtt-serial stop     
service wb-mqtt-serial stop     
</pre>
</pre>
В старых версиях контроллеров используйте команду serive wb-homa-modbus stop.
In older versions of controllers, use the '''serive wb-homa-modbus stop''' command.
<pre>
<pre>
socat -d -d -d -x /dev/ttyRS485-1,raw,ispeed=9600,ospeed=9600,parenb=0,cstopb=1,cs8 TCP-LISTEN:10010&
socat -d -d -d -x /dev/ttyRS485-1,raw,ispeed=9600,ospeed=9600,parenb=0,cstopb=1,cs8 TCP-LISTEN:10010&
12 063

правки