Skip to content

Possibly add "headerless" option #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jerryneedell opened this issue Jan 4, 2024 · 2 comments
Closed

Possibly add "headerless" option #90

jerryneedell opened this issue Jan 4, 2024 · 2 comments

Comments

@jerryneedell
Copy link
Contributor

jerryneedell commented Jan 4, 2024

I'm curios what people think of adding an option to strip out the "RadioHead" header and just allow the user to send/receive a raw payload. This would allow the library to be more compatible with other libraries used on Arduino boards , for example https://github.com/sandeepmistry/arduino-LoRa

I think it will be a fairly simple change, just adding an argument to the initialization. Of course, if enabled, no addressing or "reliable datagram" modes would be available. Also the transmitter and receiver would have to be configured the same.

Any comments?

If there is a consensus to do this, I'll be happy to implement it. This will likely add a few byes of code to the library and may create issues for the feather_m0_rfm9x build.

As I think about this, another option is to create a new rfm9x-lite version that just sends/receives a raw packet. No header, no addressing , no reliable datagram. It would not be compatible with RadioHead, but it would work with arduino-lora. It would also be a lot smaller!

@jerryneedell
Copy link
Contributor Author

This is actually a duplicate of #38. Closing here and will follow-up there with any future discussion. Clearly this is not a "burning" issue ...

@jerryneedell
Copy link
Contributor Author

Implemented in the Adafruit_CircuitPython_RFM library
https://github.com/adafruit/Adafruit_CircuitPython_RFM.git

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

No branches or pull requests

1 participant