12 063
правки
(Новая страница: «==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== | ||
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> | ||
правки