StuartsProjects / SX12XX-LoRa

Library for SX12XX LoRa devices
303 stars 66 forks source link

Support for SX128X with PA in the Ranging example #86

Closed Roiquiem closed 4 months ago

Roiquiem commented 4 months ago

Added support for the master and slave ranging with PA. Still not supporting their calibration process, but I'm working on it.

StuartsProjects commented 4 months ago

Not sure what your requesting here.

I would not normally include changes to the SX12xx library unless I had actually tested them myself.

In addition its not clear to me how the ranging slave can deal with external TXenable and RXenable switching since the response to a received ranging request is internal to the SX128x.

StuartsProjects commented 4 months ago

The Semtech datasheet for the SX1280 makes clear that for ranging applications the switching between TX and RX modes is automatic, which implies that external RX and TX enable pins cannot be controlled appropriately.