Skip to content

qznwpfqbgw/ho_emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HO Emulator

Usage

  1. Execute manage_virtual_serial.sh start to create virtual serial port
$ ./src/manage_virtual_serial.sh start
  1. Check the actual pty port (just choose one to check, the other one should be used by your application)
$ ls -la /tmp/ttyV0
/tmp/ttyV0 -> /dev/pts/2
  1. Modify the config.yml
...
Replayer:
  enable: True
  virt_serial_port: /dev/pts/2
  1. Run Docker container
$ docker-compose up -d # or docker compose up -d
  1. Run the replayer and controller
$ docker-compose exec -it ho_emulator /bin/bash # or docker compose exec -it ho_emulator /bin/bash
# cd ho_emulator && python3 main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published