
Alarm generator, transmitter side
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.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
7:ccb3088ce5be | 2018-07-18 | use sx12xx_hal | File Diff Annotate |
6:59ba1113b3c6 | 2018-02-12 | MOTE_L152RC set pd2 high | File Diff Annotate |
5:1652e04809fb | 2018-02-05 | add target MOTE_L152RC | File Diff Annotate |
4:19056d9707ef | 2018-01-29 | set OCP for +20dBm out | File Diff Annotate |
3:d8b57eca8c45 | 2018-01-26 | support DISCO-L072CZ-LRWAN | File Diff Annotate |
2:0b7620bda2c9 | 2017-09-01 | add +20dBm option | File Diff Annotate |
1:3199506bc2e5 | 2017-08-31 | use 4 input pins | File Diff Annotate |
0:cb38da4f4b04 | 2017-08-22 | initial commit | File Diff Annotate |