{"id":19975859,"url":"https://github.com/jfjlaros/serialmux","last_synced_at":"2025-09-04T18:46:09.307Z","repository":{"id":80229654,"uuid":"441514192","full_name":"jfjlaros/serialMux","owner":"jfjlaros","description":"Serial multiplexer for Arduino.","archived":false,"fork":false,"pushed_at":"2023-09-01T17:53:51.000Z","size":87,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-04T02:39:57.475Z","etag":null,"topics":["arduino","communication","multiplexer","port","serial","virtual"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfjlaros.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-24T16:47:44.000Z","updated_at":"2025-01-14T16:41:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2ff4980-365b-43bb-badd-370a6daafc77","html_url":"https://github.com/jfjlaros/serialMux","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jfjlaros/serialMux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfjlaros%2FserialMux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfjlaros%2FserialMux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfjlaros%2FserialMux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfjlaros%2FserialMux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfjlaros","download_url":"https://codeload.github.com/jfjlaros/serialMux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfjlaros%2FserialMux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273656619,"owners_count":25145001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","communication","multiplexer","port","serial","virtual"],"created_at":"2024-11-13T03:20:35.923Z","updated_at":"2025-09-04T18:46:09.297Z","avatar_url":"https://github.com/jfjlaros.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Serial multiplexer for Arduino\n==============================\n\n.. image:: https://img.shields.io/github/last-commit/jfjlaros/serialMux.svg\n   :target: https://github.com/jfjlaros/serialMux/graphs/commit-activity\n.. image:: https://github.com/jfjlaros/serialMux/actions/workflows/arduino-package.yml/badge.svg\n   :target: https://github.com/jfjlaros/serialMux/actions/workflows/arduino-package.yml\n.. image:: https://readthedocs.org/projects/serialmux/badge/?version=latest\n   :target: https://serialMux.readthedocs.io/en/latest\n.. image:: https://img.shields.io/github/release-date/jfjlaros/serialMux.svg\n   :target: https://github.com/jfjlaros/serialMux/releases\n.. image:: https://img.shields.io/github/release/jfjlaros/serialMux.svg\n   :target: https://github.com/jfjlaros/serialMux/releases\n.. image:: https://www.ardu-badge.com/badge/serialMux.svg\n   :target: https://www.ardu-badge.com/serialMux\n.. image:: https://img.shields.io/github/languages/code-size/jfjlaros/serialMux.svg\n   :target: https://github.com/jfjlaros/serialMux\n.. image:: https://img.shields.io/github/languages/count/jfjlaros/serialMux.svg\n   :target: https://github.com/jfjlaros/serialMux\n.. image:: https://img.shields.io/github/languages/top/jfjlaros/serialMux.svg\n   :target: https://github.com/jfjlaros/serialMux\n.. image:: https://img.shields.io/github/license/jfjlaros/serialMux.svg\n   :target: https://raw.githubusercontent.com/jfjlaros/serialMux/master/LICENSE.md\n\n----\n\nThis library provides a simple way to create multiple virtual serial devices\nthat communicate over one physical serial connection. A virtual device can be\nused as a drop-in replacement for ``Stream`` like objects such as ``Serial``.\n\nA service is needed on the host for multiplexing and demultiplexing and to\ncreate virtual ports. A Python client_ for Linux is provided as a reference\nimplementation.\n\nPlease see ReadTheDocs_ for the latest documentation.\n\n\nQuick start\n-----------\n\nCreate multiple virtual serial devices and use them like the standard\n``Serial`` object.\n\n.. code-block:: cpp\n\n    #include \u003cserialMux.h\u003e\n\n    SerialMux mux(Serial);\n    VSerial serialA(mux);\n    VSerial serialB(mux);\n\n    void setup() {\n      Serial.begin(9600);\n    }\n\n    void loop() {\n      serialA.println(\"Virtual device A.\");\n      serialB.println(\"Virtual device B.\");\n      delay(1000);\n    }\n\nOn the host, two virtual ports are created, e.g., ``/dev/pts/8`` and\n``/dev/pts/9``. When we connect to one of these ports, we only see the\nmessages that are sent to that port.\n\n::\n\n    $ picocom -q /dev/pts/8\n    Virtual device A.\n    Virtual device A.\n\n\n.. _ReadTheDocs: https://serialmux.readthedocs.io\n.. _client: https://arduino-serial-mux.readthedocs.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfjlaros%2Fserialmux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfjlaros%2Fserialmux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfjlaros%2Fserialmux/lists"}