Skip to content

Command line config, add TCP and pseudo TTY support#1

Open
sjlongland wants to merge 8 commits into
packom:masterfrom
sjlongland:master
Open

Command line config, add TCP and pseudo TTY support#1
sjlongland wants to merge 8 commits into
packom:masterfrom
sjlongland:master

Conversation

@sjlongland
Copy link
Copy Markdown

Figured I'd contribute this back… this adds:

  • configuration via the CLI (using argparse)
  • support for allocating pseudo TTYs which can be used for testing serial M-Bus master implementations
  • support for opening a listening TCP socket for testing networked M-Bus master implementations

It also pulls in the secondary addressing support from https://github.com/addiva-elektronik/pyMbusSlave.

hno-wires and others added 8 commits November 21, 2022 13:45
most mbus devices uses the more expressive variable data structure
This allows you to create a "virtual" serial port using a pseudo TTY on
Linux and Unix systems.  You can then interrogate the slave device using
existing software such as `libmbus` CLI tools.
The `README.md` refers to it being a string, so does the comment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants