LoRaWAN demo application using grove peripherals generating Cayenne LPP

Dependencies:   lorawan1v1

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: ButtonRX TXA3 A4: TempSense
D6 D7:SCL SDA : LEDA1 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.

History

mbed-os to branch latest default tip

2018-07-25, by Wayne Roberts [Wed, 25 Jul 2018 09:55:31 -0700] rev 11

mbed-os to branch latest


mbed-os to branch latest

2018-07-25, by Wayne Roberts [Wed, 25 Jul 2018 09:53:45 -0700] rev 10

mbed-os to branch latest


rename board.h to lorawan_board.h

2018-07-23, by Wayne Roberts [Mon, 23 Jul 2018 17:56:47 -0700] rev 9

rename board.h to lorawan_board.h


add application without VT100. Use latest lorawan library.

2018-07-23, by Wayne Roberts [Mon, 23 Jul 2018 13:19:35 -0700] rev 8

add application without VT100. Use latest lorawan library.


update to current lorawan library

2018-05-23, by Wayne Roberts [Wed, 23 May 2018 11:23:43 -0700] rev 7

update to current lorawan library


DISCO_L072CZ_LRWAN1: USER_BUTTON for sending uplinks

2018-04-11, by Wayne Roberts [Wed, 11 Apr 2018 14:50:01 -0700] rev 6

DISCO_L072CZ_LRWAN1: USER_BUTTON for sending uplinks


update for mbed-os-5.8

2018-04-06, by wroberts@semtech.com [Fri, 06 Apr 2018 17:32:22 -0700] rev 5

update for mbed-os-5.8


Add sequence number to digital input channel. Jumper interrupt fired on startup if inserted.

2018-03-29, by Wayne Roberts [Thu, 29 Mar 2018 14:57:14 -0700] rev 4

Add sequence number to digital input channel. Jumper interrupt fired on startup if inserted.


move d8 button to ISR for deep sleep

2018-03-19, by Wayne Roberts [Mon, 19 Mar 2018 14:46:37 -0700] rev 3

move d8 button to ISR for deep sleep


update for current lorawan1v1 library

2018-03-05, by Wayne Roberts [Mon, 05 Mar 2018 16:51:20 -0800] rev 2

update for current lorawan1v1 library