Difference between revisions of "Uartmgr"
From ESS-WIKI
(.) |
(.) |
||
Line 29: | Line 29: | ||
Check if uartmgr service is running: | Check if uartmgr service is running: | ||
− | |||
<pre>$ sudo systemctl status uartmgr.service | <pre>$ sudo systemctl status uartmgr.service | ||
</pre> | </pre> | ||
Restart uartmgr service: | Restart uartmgr service: | ||
+ | <pre>$ sudo systemctl restart uartmgr.service | ||
+ | </pre> | ||
− | <pre>$ sudo systemctl | + | Start uartmgr service: |
+ | <pre>$ sudo systemctl start uartmgr.service | ||
+ | </pre> | ||
+ | |||
+ | Start uartmgr service: | ||
+ | <pre>$ sudo systemctl stop uartmgr.service | ||
</pre> | </pre> | ||
Line 41: | Line 47: | ||
Check if uartmgr service is running: | Check if uartmgr service is running: | ||
− | * Use Service to check status of uartmgr service | + | |
+ | *Use Service to check status of uartmgr service | ||
Restart uartmgr service: | Restart uartmgr service: | ||
− | * Use Service to restart uartmgr service | + | |
+ | *Use Service to restart uartmgr service | ||
+ | |||
Revision as of 04:20, 2 November 2018
Contents
Introduction
A daemon can handle asynchronous UART I/O, based on MQTT protocol to read from UART or write to UART.
Support OS
- Ubuntu 16.04
- Windows 10
Topology
Under Construction
How to
Installation
In Ubuntu
In Windows
Configuration
Under Construction
Service control
In Ubuntu
Check if uartmgr service is running:
$ sudo systemctl status uartmgr.service
Restart uartmgr service:
$ sudo systemctl restart uartmgr.service
Start uartmgr service:
$ sudo systemctl start uartmgr.service
Start uartmgr service:
$ sudo systemctl stop uartmgr.service
In Windows
Check if uartmgr service is running:
- Use Service to check status of uartmgr service
Restart uartmgr service:
- Use Service to restart uartmgr service
Monitor UART transaction online
In Ubuntu ,
$ mosquitto_sub -h localhost -t /uartmgr/# -v
In Windows,
cd C:\"Program Files (x86)\Advantech\MQTTBroker" mosquitto_sub -h localhost -t /uartmgr/# -v
Display UART transaction log
In Ubuntu ,
$ cat /var/log/syslog | grep -a uartmgr
In Windows,
Under Construction