Sample plug n play Netduino V2/V3 client for my nRF24L01 field gateway projects (see my profile for these). The design goal was a simple demo solution that students could use as a basis for their projects.
The Netduino client uses
- SeeedStudio Grove-Temperature & Humidity Sensor
- SeeedStudio Grove-Universal 4 Pin Buckled 5cm Cable
- SeeedStudio Grove-Base Shield V2
Download the code, then build and deploy to Netduino device.
Ensure the case of your sensor identifiers is consistent with the IoT Cloud Service configuration .
Ensure the nRF24BaseStationAddress, nRF24Channel and nRF24DataRate match the configuration of your field gateway.
For devices without network connectivity (Netduino2/Netduino3) you will need to comment out/remove the MAC address lookup code and configure a unique device ID manually.
// Setup the device unique identifier, in this case the hardware MacAddress
deviceIdentifier = NetworkInterface.GetAllNetworkInterfaces().PhysicalAddress;
Debug.Print(" Device Identifier : " + BytesToHexString(deviceIdentifier));