Skip to content

lorawan: add sx128x support with the WW2G4 2.4 GHz region - #16

Open
deadprogram wants to merge 2 commits into
lora-drivers-apifrom
lora-sx128x
Open

deadprogram wants to merge 2 commits into
lora-drivers-apifrom
lora-sx128x

Conversation

@deadprogram

@deadprogram deadprogram commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

This PR adds sx128x support for LoRaWAN at 2.4 GHz. It is stacked on #14.

Changes:

Limits:

  • The region uses only the first boot channel and does not hop, like EU868
  • LoRa Basics Modem uses CR 4/8 with long interleaving. The lora package in drivers has no constant for it, so this uses CR 4/8. The explicit header carries the coding rate, so the receiver decodes either one

It should not be merged yet since the drivers dependency points at an unmerged commit from tinygo-org/drivers#955.

Tested with go test ./..., and TinyGo builds of basic-demo for esp32s3-generic and atcmd for esp32s3-n16r8-devkit with -tags sx128x. The existing LoRaWAN example builds for pybadge with the FeatherWing, lorae5, nucleo-wl55jc, pico with sx126x and the simulator still pass. Not tested on sx128x hardware.

Add sx128x setup for the LilyGo T3-S3 behind the sx128x build tag, and the WW2G4 region option in basic-demo and atcmd.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant