Wb-mqtt-serial driver/en: различия между версиями

Новая страница: «The driver configuration is specified in the <code>/etc/wb-mqtt-serial.conf</code> file. If such a file is created, the driver starts automatically when the contr…»
(Новая страница: «==Configuring and running the driver==»)
(Новая страница: «The driver configuration is specified in the <code>/etc/wb-mqtt-serial.conf</code> file. If such a file is created, the driver starts automatically when the contr…»)
Строка 24: Строка 24:
==Configuring and running the driver==
==Configuring and running the driver==


Конфигурация драйвера задаётся в файле <code>/etc/wb-mqtt-serial.conf</code>. Если такой файл создан, драйвер запускается при загрузке контроллера автоматически. Также драйвером можно управлять в ручном режиме из консоли:
The driver configuration is specified in the <code>/etc/wb-mqtt-serial.conf</code> file. If such a file is created, the driver starts automatically when the controller is loaded. You can also control the driver manually from the console:  
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
service wb-mqtt-serial stop #остановить драйвер
service wb-mqtt-serial stop #stop the driver
service wb-mqtt-serial start #запустить драйвер
service wb-mqtt-serial start #start the driver
service wb-mqtt-serial restart #перезапустить драйвер
service wb-mqtt-serial restart #restart the driver
wb-mqtt-serial -c /etc/wb-mqtt-serial.conf -d #запустить драйвер в принудительном отладочном режиме с указанием пути к конфигурационному файлу
wb-mqtt-serial -c /etc/wb-mqtt-serial.conf -d #start the driver in forced debug mode with specifying the path to the configuration file
</syntaxhighlight>
</syntaxhighlight>


12 063

правки