Alarm generator, transmitter side

Dependencies:   sx12xx_hal

radio chip selection

Radio chip driver is not included, allowing choice of radio device.
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 SX1280, then import sx1280 driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.

This is transmitter project; Receiver side is Alarm Slave project.
This project generates alarm (transmits) from grounding certain pins.
To find the actual pins used, refer to the code where pin[A-D] is declared as DigitalIn.

Alarm message is sent N times with future timestamp indicating when alarm is to occur. This accommodates dropped packets, resulting in alarm occurring when as few as 1 packet is received.

History

use sx12xx_hal default tip

2018-07-18, by Wayne Roberts [Wed, 18 Jul 2018 18:52:35 -0700] rev 7

use sx12xx_hal


MOTE_L152RC set pd2 high

2018-02-12, by Wayne Roberts [Mon, 12 Feb 2018 17:23:14 -0800] rev 6

MOTE_L152RC set pd2 high


add target MOTE_L152RC

2018-02-05, by Wayne Roberts [Mon, 05 Feb 2018 15:03:27 -0800] rev 5

add target MOTE_L152RC


set OCP for +20dBm out

2018-01-29, by dudmuck [Mon, 29 Jan 2018 18:20:10 +0000] rev 4

set OCP for +20dBm out


support DISCO-L072CZ-LRWAN

2018-01-26, by dudmuck [Fri, 26 Jan 2018 01:19:48 +0000] rev 3

support DISCO-L072CZ-LRWAN


add +20dBm option

2017-09-01, by dudmuck [Fri, 01 Sep 2017 23:03:35 +0000] rev 2

add +20dBm option


use 4 input pins

2017-08-31, by dudmuck [Thu, 31 Aug 2017 23:15:04 +0000] rev 1

use 4 input pins


initial commit

2017-08-22, by dudmuck [Tue, 22 Aug 2017 10:06:40 -0700] rev 0

initial commit