Note: this is work in progress!
Cheerinos is an Arduino serial communication library to make serial communication between python and arduino easy.
- SOH - ASCII Start of header
- HEADER - Includes
from_addr
,to_addr
, andnum_bytes
of payload - STX - ASCII Start of text
- PAYLOAD - Payload data
- ETX - ASCII End of text
- CRC - Cyclic Redundancy Check (8 bits)
- EOT - ASCII End of Transmission
- Python Boost bindings
- Wait for ACK/NACK
- Implement CRC
- Test with 2 instances of cheerinos
- First build with g++
g++ -o test ring_byte_buf.cpp sim_serial.cpp cheerinos.cpp test.cpp
- Run test
./test