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
Copyright
Copyright 2016 Orion Labs, Inc.
License
Apache License, Version 2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dummyserial-1.0.0.tar.gz
(4.6 kB
view details)
File details
Details for the file dummyserial-1.0.0.tar.gz.
File metadata
- Download URL: dummyserial-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb1dcbe9282ae4f71c3e44d297774c52c7595af684cefb1de9562e641a364342
|
|
| MD5 |
5d061402a72be2c8842939c884db5820
|
|
| BLAKE2b-256 |
beede99e3c3ef5384a9770d59372d3b3e2716857f7322596c124dabc3256906f
|