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

How to Activate Receive #230

Open
juancirino23 opened this issue Aug 7, 2024 · 1 comment
Open

How to Activate Receive #230

juancirino23 opened this issue Aug 7, 2024 · 1 comment

Comments

@juancirino23
Copy link

Hi, I have a question. How do initiate the receive for example I want every 2 minutes during 40 seconds to lisen for incoming lora packages.

Thanks

@juancirino23 juancirino23 changed the title How to Activate Recibe How to Activate Receive Aug 7, 2024
@terrillmoore
Copy link
Member

There is no API for doing this, because it's not a LoRaWAN concept. LoRaWAN supports class A devices (listen a fixed time after uplink), class B devices (listen periodically, synchronized with the network), and class C devices (listen always). Unfortunately, the LMIC library only supports class A. So the only choice to receive periodically is to send uplinks periodically. You can use the LMIC_poll() api to do this -- this might also be available through the Arduino LoRaWAN APIs.

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

2 participants