Skip to content
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

Recipient address #6

Open
sea-of-rob opened this issue Jul 13, 2022 · 2 comments
Open

Recipient address #6

sea-of-rob opened this issue Jul 13, 2022 · 2 comments

Comments

@sea-of-rob
Copy link

In the original docs for raspi-lora library they state that a message can be broadcast to all devices irrespective of their address:

header_to Address of recipient (0-255). If address is 255, the message will be broadcast to all devices

Is this supported as I cant get it to work with:

lora.send("This is a test message", 255)

Thanks

@atonughosh
Copy link

I'm also having the same issue.
How to broadcast a message using this library?

@barryhunter
Copy link

There is a bug in this library, kinda inheritied from raspi-lora. Even raspi-lora wouldnt receive broadcast messages, unless receive_all was used. This project tried to fix it, but not quite.

I found and fixed this in my own fork of this project
barryhunter@685edbc#diff-82727dcdad31bd5c8d91b972f851b604138ffea43ff5512d7a5ffe18c98be460L351

Or get it from https://github.com/barryhunter/u-lora/tree/patch-1

Which was found when comparing with https://github.com/epeters13/pyLoraRFM9x/
(so they get the credit for getting it working!)

Can also use receive_all on the receiver with current u-lora library.

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

3 participants