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

Is LoRaNow.loop() necessary during sleeping #13

Open
IoTopenTech opened this issue Dec 19, 2019 · 3 comments
Open

Is LoRaNow.loop() necessary during sleeping #13

IoTopenTech opened this issue Dec 19, 2019 · 3 comments

Comments

@IoTopenTech
Copy link

Dear Ricaun,

I am learning to use your library.
I have a question about the LoRaNow.loop() method and the State Machine.
Can I sleep de uC in the onSleep callback for a long time (i.e. 15 minutes) without calling LoRaNow.loop()?

Besides I found this small typo in the API.
imagen
Kind regards from Madrid

@IoTopenTech
Copy link
Author

Another question.
When is this state enabled?
imagen

@ricaun
Copy link
Owner

ricaun commented Dec 21, 2019

I am learning to use your library.

👍

I have a question about the LoRaNow.loop() method and the State Machine.
Can I sleep de uC in the onSleep callback for a long time (i.e. 15 minutes) without calling LoRaNow.loop()?

We the onSleep callback you can put the uC on sleep mode forever if you want.
The idea of the onSleep callback is to make sure the node sends the payload and waits for some response, then go to sleep.

Besides I found this small typo in the API.

Opsss 😄

Another question.
When is this state enabled?
imagen

This state is not used, I create for the first version but never used.
I need to remove it.

@IoTopenTech
Copy link
Author

Thank you very much ricaun and Happy 2020...

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