This is a kind of bridge that exchanges serial streams and UDP packets for xkit.
[Device A] <---SLIP data---> [(serial) <---Exchange Serial2UDP---> (network)] <---UDP packet---> [Device B]
|--------------------s2u-----------------------| |------local or remote------|
History
- V0.3.0
- Supports SLIP serial data
- Supports UDP and Multicast
Install
pip install s2u
Dependencies
- pyserial
- genlib
Run
Window
s2u --sport=com1
linux
s2u --sport=/dev/stty1
options
--sport=<serial port>
--baud=<baud> (default 115200)
--ip=<server ip> (default 127.0.0.1)
--mcast
--group=<group> (default 239.8.7.6)
--iport=<port> (default 7321)
--log=<stream | file>
Metadata
Release files for s2u 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| s2u-0.3.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| s2u-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / s2u-0.3.0.tar.gz
| Download URL | s2u-0.3.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61dec656bbff67e46354c4affd68ef13522310df0274c861aa6f1d7f9c08c414
|
|
BLAKE2b-256 checksum How to use checksums |
3a05b606310c03bbf8356ed909bb0b726ca53f70282381f2e4f31807fe253257
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / s2u-0.3.0-py3-none-any.whl
| Download URL | s2u-0.3.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f076e418ea8f517f7edbbfb94d4d9ed8c8ecbfcc4f39094df142ba8d41bdcdd
|
|
BLAKE2b-256 checksum How to use checksums |
f27f23a02a157637a58f41b04be97d0cae9a827cc28a18262b066d4e735759b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|