point-2-point demo
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.
.mbedignore@4:b5dd459ac390, 2018-07-17 (annotated)
- Committer:
- Wayne Roberts
- Date:
- Tue Jul 17 14:32:29 2018 -0700
- Revision:
- 4:b5dd459ac390
use HAL to support all radio devices
Who changed what in which revision?
User | Revision | Line number | New 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/* |