LoRaWAN demo application using grove peripherals generating Cayenne LPP
radio chip selection
Radio chip driver is not included, because two options are available.
If you're using SX1272 or SX1276, then import sx127x driver into your program.
if you're using SX1261 or SX1262, then import sx126x driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
Grove peripherals -> Cayenne demo
Read LoRaWAN-1.1 page for configuration instructions.
This project adds support for Murata discovery board, in addition to LoRa shields on NUCLEO boards.
Use with sx1272 shield with grove peripherals connected:
D8 D9: Button | RX TX | A3 A4: TempSense |
D6 D7: | SCL SDA : LED | A1 A2: Pot |
Button
Sends two different payload types: short press (under 1 sec)
long press: held down > 1 sec.
serial console keys
115200bps, 8N1
Enter key not used
Keys '0' to '3': cayenne channel number
'0': pot (rotary sensor)
'1': temperature
'2': digital out
'3': analog out
DevEUI configuration
For use on networks which force you to use DevEUI defined by network, comment out HardwareIDtoDevEUI()
.
HardwareIDtoDevEUI()
obtains DevEUI from the CPU unique hardware serial number. However, some networks may force you to use their DevEUI value.
Files at revision 11:09556b27dbce
Name | Size | Actions |
---|---|---|
[up] | ||
Commissioning.h | 3869 | Revisions Annotate |
LoRaMacString.cpp | 4586 | Revisions Annotate |
LoRaMacString.h | 198 | Revisions Annotate |
SerialDisplay.cpp | 19307 | Revisions Annotate |
SerialDisplay.h | 3482 | Revisions Annotate |
lorawan1v1.lib | 64 | Revisions Annotate |
mbed-os.lib | 77 | Revisions Annotate |
mbed_app.json | 44 | Revisions Annotate |
sensorDemoVT100.cpp | 40783 | Revisions Annotate |
vt100.h | 5747 | Revisions Annotate |