Fully functional LoRaMesh Network working in Arduino Uno Enabled with CMAC Authentication
-
Set Node ID:
- Upload
SetNodeId.inosketch to the first node. - Set the Node ID to 1.
- Upload
-
Upload LoRaMesh Sketch:
- Upload
LoRaMesh.inosketch to the same Arduino Uno device.
- Upload
-
Repeat for Additional Nodes:
- Repeat the above steps for up to 255 devices.
- Change the Node ID for each device accordingly.
-
First Node Setup:
- Upload
auth_main.inoto the first device (Arduino Mega). - Ensure the Node ID is set to 1 in the
init.cppfile.
- Upload
-
Other Nodes Setup:
- Upload
auth.inoto each additional node. - Change the Node ID in the
init.cppfile for each node.
- Upload
- Authentication Code Compatibility:
- The authentication code will only run on Arduino Mega devices.