Difference between revisions of "Uartmgr"

From ESS-WIKI
Jump to: navigation, search
(.)
(.)
Line 23: Line 23:
  
 
Under Construction
 
Under Construction
 +
 +
== Service control ==
 +
 +
=== Check if uartmgr service is running ===
 +
 +
'''<span style="font-size:larger;">In Ubuntu</span>'''
 +
<pre>$ sudo systemctl status uartmgr.service
 +
</pre>
 +
 +
'''<span style="font-size:larger;">In Windows</span>'''
 +
<pre>Use Service to check status of uartmgr service
 +
</pre>
 +
 +
=== Restart uartmgr service ===
 +
 +
'''<span style="font-size:larger;">In Ubuntu</span>'''
 +
<pre>$ sudo systemctl restart uartmgr.service
 +
</pre>
 +
 +
'''<span style="font-size:larger;">In Windows</span>'''
 +
<pre>Use Service to check status of uartmgr service
 +
</pre>
  
 
== Monitor UART transaction online ==
 
== Monitor UART transaction online ==

Revision as of 05:12, 2 November 2018

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

Check if uartmgr service is running

In Ubuntu

$ sudo systemctl status uartmgr.service

In Windows

Use Service to check status of uartmgr service

Restart uartmgr service

In Ubuntu

$ sudo systemctl restart uartmgr.service

In Windows

Use Service to check status of uartmgr service

Monitor UART transaction online

In Ubuntu ,

$ mosquitto_sub -h localhost -t /uartmgr/# -v

RTENOTITLE

In Windows,

cd C:\"Program Files (x86)\Advantech\MQTTBroker"
mosquitto_sub -h localhost -t /uartmgr/# -v

RTENOTITLE

Display UART transaction log

In Ubuntu ,

$ cat /var/log/syslog | grep -a uartmgr

In Windows,

Under Construction

Release