Code can be downloaded from here….
https://github.com/RoSchmi/Gadgeteer-RFM69
RFM69 radios are transceiver modules with low power consumption which are well-suited for applications where only low datarates are required.
Typical applications are radio transmissions from sensors to e.g. IoT gateways.
If sensor data are transmitted only in large time intervals, RFM69 radios can be sourced by a battery for a long time.
There are nice combinations of Arduino clone MCUs with RFM69 radios like the Moteino from LowPowerLab.com or the Adafruit Feather M0 RFM69 which can be connected with a sensor to transmit sensor data wireless to a Gateway where the sensor data are displayed, stored or sent to the Cloud.
Felix Rusu of LowPowerLab.com published a reliable open source library for their Moteino RFM69 combination which uses the package mode of the RFM69 to send encrypted messages with a length of up to 61 bytes.
In this project this Arduino library was adapted to C# for NETMF / Gadgeteer Mainboards, so that NTEMF / Gadgeteer Mainboards in combination with RFM69 radios can serve as a Gateway.
I used the Adafruit RFM69 Transceiver Breakout as it is easier to handle as a bare RFM69 radio module but the bare modules should work as well.
More details about the function of the driver can be seen in the text in Program.cs
The project consists of a driver for Gadgeteer Mainboards (e.g. Spider II)and a version for pure NETMF (Cobra III).
In the project two arduino sketches (receiver and transmitter) for e.g. the Moteino are included to demonstrate the conversation in both directions.