This is an Arduino library for managing level 2 ("link") communication with RF devices. Tested and used with Texas Instruments (tm) CC1101 device. Works on top of arduino-CC1101 library (see below).
The link layer implements:
- Packet ID, to properly ignore already-received packets
- ACK, so that the sender will know data good reception
The notion of sender and receiver address is managed by RFLink, although this is in part already managed as a built-in feature of CC1101.
Download a zip of this repository, then include it from the Arduino IDE.
IMPORTANT You'll also need to install arduino-cc1101 library, available here: https://github.com/veonik/arduino-cc1101
See examples/example1/sender/sender.ino and examples/example1/receiver/receiver.ino for an example.
There are other examples available:
-
examples/example1
Simple RFLink usage
-
examples/example2
Use of deferred executions + used by test/t1.sh to do tests (need 2 boards each having a RF circuit like CC1101 plugged on).