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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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