helium / blockchain-core

Apache License 2.0
214 stars 85 forks source link

On-chain patch to PoC spreading factor choice #1499

Open ke6jjj opened 1 year ago

ke6jjj commented 1 year ago

This PR is mutually exclusive with https://github.com/helium/miner/pull/1865

@mikev says:

Recently we've taken a close look at PoC in the context of AS923. Network observations show that AS923 PoC is beaconing at SF9. As a comparison EU868 successfully beacons at SF12. We looked deeper into the Miner's PoC code and believe this is incorrect. The spec allows 400ms dwell time regions, such as AS923, to use the SF12 datarate for packets 59 bytes and smaller. Our current PoC packets are 52 bytes.

We propose a minor patch to enable the AS923 regions to PoC beacon at the SF12 datarate. This will have the effect of approximately doubling the PoC distance range. The PoC distance range roughly matches the distance a LoRa sensor can achieve when it sends it's initial Join request at SF12.