An open API service indexing awesome lists of open source software.

https://github.com/skyzh/serialpb

Reliable packet transmission over serial interface
https://github.com/skyzh/serialpb

cmake cpp gtest serial

Last synced: 8 months ago
JSON representation

Reliable packet transmission over serial interface

Awesome Lists containing this project

README

          

# serialpb

A protocol made for reliable serial packet transmission.

## Layout

Most significant bit indicates mode. Control mode = 1, Transmission mode = 0.

### Control Mode (1xxxxxxx)

`0xFF` = new transaction

### Transmission Mode (0xxxxxxx)

Most significant bit is 0. Other 7 bits transmit data. Every 8 bits received
will be concatenated into a byte. When entering control mode, extra bits
will be ignored.

## Todo

- [ ] add tests for serial not available