{"id":20280018,"url":"https://github.com/yesbotics/simple-serial-protocol-docs","last_synced_at":"2026-03-07T03:30:58.559Z","repository":{"id":75142273,"uuid":"580470030","full_name":"yesbotics/simple-serial-protocol-docs","owner":"yesbotics","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-29T09:06:26.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T02:42:03.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yesbotics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2022-12-20T16:33:05.000Z","updated_at":"2022-12-20T16:33:05.000Z","dependencies_parsed_at":"2024-11-14T18:48:34.341Z","dependency_job_id":null,"html_url":"https://github.com/yesbotics/simple-serial-protocol-docs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yesbotics/simple-serial-protocol-docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yesbotics%2Fsimple-serial-protocol-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yesbotics%2Fsimple-serial-protocol-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yesbotics%2Fsimple-serial-protocol-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yesbotics%2Fsimple-serial-protocol-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yesbotics","download_url":"https://codeload.github.com/yesbotics/simple-serial-protocol-docs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yesbotics%2Fsimple-serial-protocol-docs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-14T13:34:05.245Z","updated_at":"2026-03-07T03:30:58.539Z","avatar_url":"https://github.com/yesbotics.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Serial Protocol\nThis protocol is designed for general purpose serial computer-to-machine or machine-to-machine communication.\nIt should be simple, robust, based on low-bytes-data-transfer and most of all user friendly. \nOn one side it has to perform well on low resource devices like microcontrollers.\nOn the other hand it needs to feel comfortable for Highlevel-Programming, powered by modern programming languages.\n\nLet's close the gap!\n\n## Supported Platforms and Languages\n* [Simple Serial Protocol for Arduino]\n* [Simple Serial Protocol for Node.js]\n* [Simple Serial Protocol for C++]\n\n## Datatypes and Traffic Consumption\n\n### Byte values\n* **byte**: integer value (8 bit / 1 byte)\n\n### Logic values\n* **boolean**: true or false (8 bit / 1 byte)\n\n### Characters and Text - (printable ASCII only)\n* **char**: single character (8 bit / 1 byte)\n* **text / string**: char array / c-string (variable data size)\n    * single character (8 bit / 1 byte)\n    * plus end-of-string (8 bit / 1 byte) (non-printable ASCII char `\\0`) \n\n### Numeric values\n* **tiny integer**: (8 bit / 1 byte) \n    * signed -128 to 127\n    * unsigned 0 to 255 \n* **small integer**: (16 bit / 2 bytes) \n    * signed -32,768 to 32,767\n    * unsigned 0 to 65,523 \n* **integer**: (32 bit / 4 bytes)\n    * signed -2,147,483,648 to 2,147,483,647\n    * unsigned 0 to 4,294,967,295  \n* **big integer**: (64 bit / 8 bytes)\n    * signed -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807\n    * unsigned 0 to 18,446,744,073,709,551,615\n* **float**: floating point values (32 bit / 4 bytes)\n    * -3.402,823,4 * 10^38 to 3.402,823,4 * 10^38\n\n### Limitations\n* Text/Characters only printable ASCII\n\n## Shout out to Antonin Raffin\nThe Simple Serial Protocol is inspired by Antonin Raffin's minimalistic primitive datatypes approach.\nThe author has written an article at Medium.com [Simple and Robust Computer Arduino Serial Communication].\n\n## Links\n[Simple Serial Protocol for Arduino]:https://github.com/yesbotics/simple-serial-protocol-arduino\n[Simple Serial Protocol for Node.js]:https://github.com/yesbotics/simple-serial-protocol-node\n[Simple Serial Protocol for C++]:https://github.com/yesbotics/simple-serial-protocol-cpp\n[Simple and Robust Computer Arduino Serial Communication]:https://medium.com/@araffin/simple-and-robust-computer-arduino-serial-communication-f91b95596788\n[araffin/arduino-robust-serial]:https://github.com/araffin/arduino-robust-serial\n__\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyesbotics%2Fsimple-serial-protocol-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyesbotics%2Fsimple-serial-protocol-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyesbotics%2Fsimple-serial-protocol-docs/lists"}