point-2-point demo

Dependencies:   sx12xx_hal

radio chip selection

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

TX trigger selection

Edit main.h to define DIGITAL_TRIGGER or ANALOG_TRIGGER to chose whether transmit is initiated by digital pin (button/jumper) or analog pin(s) level change.

This project is intended to be used on two LoRa shields.

Each board sits in continuous RX mode, waiting for request packet.
If the received packet has good CRC, the packet is acknowledged along with read of ADC sample from the replying device.
The original request packet also contains instruction to set level of output pin.

Both sides of the link are running the same code, and each can initiate a transmission at any time.
No addressing is used, so only two nodes can operate on the radio channel.

Committer:
Wayne Roberts
Date:
Wed Aug 01 15:04:11 2018 -0700
Revision:
5:e35b1b281466
Parent:
4:b5dd459ac390
move analog to separate source file

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Wayne Roberts 4:b5dd459ac390 1 mbed-os/features/cellular/*
Wayne Roberts 4:b5dd459ac390 2 mbed-os/features/netsocket/*
Wayne Roberts 4:b5dd459ac390 3 mbed-os/features/lwipstack/*
Wayne Roberts 4:b5dd459ac390 4 mbed-os/features/nanostack/*