Zao SDK for Jetson / libzep API Reference
Loading...
Searching...
No Matches
sample program How to use ZaoSerialProxyTty

ZaoSerialProxyTty is a program to connect serial port such as USB to serial adapter and cloud side.

■ Build and Installation

Build serial-proxy-tty/ZaoSerialProxyTty according to the build instructions. To replace it with the pre-built binary installed by the SDK setup, execute the following command. ```` $ sudo install -m 755 -o root -g root serial-proxy-tty/ZaoSerialProxyTty /usr/local/bin

## ■ Command line options.

ZaoSerialProxyTty [-d <device>] [-p <link-path>] ```

  • -d <devie> : path to tty device to connect.
    • If omitted, /dev/ttyZAO0 is used.
  • -p <link-path> : path for linking.
    • -p <link-path> : path for linking with ZaoRemoteEndpoint.
    • If omitted, it is unix:///run/zao/RemoteEndpoint.sock.

■ Main operations

  • To stop fetching and sending, type Ctrl-C.