Hardware Abstraction Layer, permitting any LoRa application to use any LoRa radio chip
Dependents: alarm_slave alarm_master lora_p2p lorawan1v1 ... more
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 LR1110, then import LR1110 driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
If you're using Type1SJ select target DISCO_L072CZ_LRWAN1
and import sx126x driver into your program.
Pin assigned to arduino LoRa radio shield form-factor
- SX1272 shield.
- SX1276 shield.
- SX126x kit with color touch screen, or sx126x radio-only shield.
- Exceptions with their own pin assignments: NAMote-72 and Murata discovery board.
- TODO: pin assign XDOT.
Diff: radio_sx126x.cpp
- Revision:
- 4:57080d572494
- Parent:
- 3:122af639cf0b
- Child:
- 5:ab124d3842a8
--- a/radio_sx126x.cpp Mon Jul 23 17:36:57 2018 -0700 +++ b/radio_sx126x.cpp Mon Aug 20 14:07:47 2018 -0700 @@ -100,7 +100,7 @@ { SetChannel(hz); radio.set_tx_dbm(chipType == CHIP_TYPE_SX1262, dbm); - radio.xfer(OPCODE_SET_TX_CONTINUOUS, 0, 0, NULL); + radio.xfer(OPCODE_SET_TX_CARRIER, 0, 0, NULL); } uint32_t Radio::Random(void)