Skip to content

Dummy Serial module for mocking / testing / simulating Python Serial Interfaces.

License

Notifications You must be signed in to change notification settings

ampledata/dummyserial

Repository files navigation

Python Module for Dummy Serial

Emulates pyserial's write/read responses from a serial port.

Works by suppling a dictionary of responses to various paramters.

For example:

ds_responses = {
    'taco': 'yum'
}

Would read() yum for a write() of taco.

Derived from Jonas Berg's 'dummy_serial.py'.

Source

Github: https://github.com/ampledata/dummyserial

Authors

Copyright

Copyright 2016 Orion Labs, Inc.

License

Apache License, Version 2.0

About

Dummy Serial module for mocking / testing / simulating Python Serial Interfaces.

Resources

License

Stars

Watchers

Forks

Packages

No packages published