Skip to main content

This is a kind of bridge that exchanges serial streams and UDP packets for xkit.

Project description

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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s2u-0.3.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

s2u-0.3.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file s2u-0.3.0.tar.gz.

File metadata

  • Download URL: s2u-0.3.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for s2u-0.3.0.tar.gz
Algorithm Hash digest
SHA256 61dec656bbff67e46354c4affd68ef13522310df0274c861aa6f1d7f9c08c414
MD5 d3bf433583c14e84ce3e50ca99f3e66b
BLAKE2b-256 3a05b606310c03bbf8356ed909bb0b726ca53f70282381f2e4f31807fe253257

See more details on using hashes here.

File details

Details for the file s2u-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: s2u-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for s2u-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f076e418ea8f517f7edbbfb94d4d9ed8c8ecbfcc4f39094df142ba8d41bdcdd
MD5 1f60079c069fcf65582cf21a565e0211
BLAKE2b-256 f27f23a02a157637a58f41b04be97d0cae9a827cc28a18262b066d4e735759b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page