RS485-comminicatoris a serial synchronization library for master to multi-slave communication designed to work on a RS485 bus. The main purposes of this library are:
- Organize serial data transfer in order to avoid collisions when multiple devices uses the same shared medium (like a RS485 bus). This is done by a token-driven logic.
- Message integrity in order to detect when errors occurs during transmission. This is done by crc8 checks
More informations can be found in the wiki pages:
Synchronization protocol & frame structure
Tuning the token return timeout value
See Samples folder in the source code directory for a quick review on both Master and slave implementations.
This library is distribuited under GPLv3. See GPLv3 disclaimer.