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

Confused with Radio.SetRxDutyCycle() parameters #132

Open
jrhbcn opened this issue Nov 9, 2024 · 0 comments
Open

Confused with Radio.SetRxDutyCycle() parameters #132

jrhbcn opened this issue Nov 9, 2024 · 0 comments

Comments

@jrhbcn
Copy link

jrhbcn commented Nov 9, 2024

Hello,

Firstly, let me thank you for making this library available. I am trying to create a receiver sensor that continually listen to LoRa packets while trying to be as energy efficient as possible. I am using the example Sensor-Gateway-Deepsleep/Lora-Gateway as a baseline.

I am confused with the parameters to the SetRxDutyCycle() function. From the example and documentation, it seems that both rxTime and sleepTime are given in μs. However, reading the sx126x datasheet (section 13.1.7) parameters are given in 15.625μs increments. Basically, I think the parameters of the SetRxDutyCycle() should not be given in μs directly (the example should not multiply by 15.625μs).

Is my assumption correct?

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