Skip to content

fill out more constants for lora driver#855

Open
jwetzell wants to merge 1 commit intotinygo-org:devfrom
jwetzell:lora-constants
Open

fill out more constants for lora driver#855
jwetzell wants to merge 1 commit intotinygo-org:devfrom
jwetzell:lora-constants

Conversation

@jwetzell
Copy link
Copy Markdown

@jwetzell jwetzell commented Apr 9, 2026

I plan to do some work on adding a driver for the Semtech SX128x when I get my boards in here soon but figured I would start laying out some of the easy stuff that I can do without having them in hand.

This adds some basic constants to the generic lora driver

  • new events (this aren't new for the sx128x stuff but not implemented in the sx126x or sx127x drivers)
  • new bandwidths (these are new with the sx128x) I debated going with semtechs naming convetions which uses round number like BW_400 for 406.25 but the existing bandwidth constants don't follow that so neither did I.

The SX128x chips operate in a different frequency space (2.4Ghz) but I'm not sure if there are any "standard" frequencies like the ones that seem to be defined for LoRaWAN regions. I couldn't find anything so left out adding constants for frequencies.

@jwetzell jwetzell changed the title fill out more constants for lora device fill out more constants for lora driver Apr 9, 2026
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