{"repo":"araffin/arduino-robust-serial","free":true,"listed":false,"github":"https://github.com/araffin/arduino-robust-serial","clone":"git clone https://github.com/araffin/arduino-robust-serial.git","description":"A simple and robust serial communication protocol. It was designed for Arduino but can be used for other purposes (e.g. bluetooth, sockets). Implementation in C Arduino, C++, Python and Rust.","language":"C++","stars":142,"topics":["arduino","raspberry-pi","serial","communication","protocol","cpp","c","python","rust","bluetooth"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Robust Arduino Serial Protocol Robust Arduino Serial is a simple and robust serial communication protocol. It was designed to make two Arduinos communicate, but can also be useful when you want a computer (e.g. a Raspberry Pi) to communicate with an Arduino. Please read the Medium Article to have an overview of this protocol. Implementations are available in various programming languages: - Arduino ( arduino-serial/ folder) - Python - C++ - Rust Examples are provided in each repository. To clone all the repositories at once, tou need to use the --recursive command: Table of Contents ================= Provided Functions Arduino Implementation 1. Using Arduino IDE 2. Using Arduino Makefile (Recommended) Python Implementation C Implementation Rust Implementation Real Life Example Acknowledgments Provided Functions Please check examples in the different repos to have the parameters details for each programming language. - read order() : Read one byte from a file/serial port and convert it to an order (equivalent to read i8) - read i8() : Read one byte from a file/serial port and convert it to a 8 bits int - read i16() : Read one byte from a file/serial port and convert it to a 16 bits int - read i32() : Read one byte from a file/serial port and convert it to a 32 bits int - write order() : Write an order to a file/serial port. (equivalent to write i8) - write i8() : Write one byte int to a file/serial port. - write i16() : Write two bytes (16-bits) int to a file/serial port. - wr","default_branch":null,"files":null,"tree":[],"storefront":"/r/araffin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/araffin/arduino-robust-serial/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}