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 there a way to set sleep timer #10

Open
154ngroves opened this issue Aug 5, 2019 · 1 comment
Open

Is there a way to set sleep timer #10

154ngroves opened this issue Aug 5, 2019 · 1 comment

Comments

@154ngroves
Copy link

Hi, I'm using this library to make a simple IoT project. I have to send only 2 or 3 messages per day, so in order to reduce power consumption i have to set the device in sleep mode for a long period (e.g. 12h).
Is there a way to do it with this library?

Thanks.

@DestinyFxxker
Copy link
Contributor

DestinyFxxker commented Sep 16, 2019

of course can,

  1. You need to follow the rules of the LoRa linked list insertion event.
    E.g

   TimerInit( &CalibrateSystemWakeupTimeTimer, OnCalibrateSystemWakeupTimeTimerEvent );
     TimerSetValue( &CalibrateSystemWakeupTimeTimer, 1000 );
     TimerStart( &CalibrateSystemWakeupTimeTimer );

  1. Modify your device sleep cycle at line 93 in the "Commissioning.h" file.

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