TheThingsIndustries / generic-node-se

Generic Node Sensor Edition
https://www.genericnode.com
Other
109 stars 31 forks source link

Add basic GNSE_Sleep function template #139

Closed mcserved closed 2 years ago

mcserved commented 3 years ago

Summary:

Currently, setting the GNSE to sleep can be achieved by calling multiple functions. To make this easier, a high level API call should be available for users to implement.

Why do we need this?

To improve readability of one of the most important aspects of the GNSE.

What is already there? What do you see now?

Low level functions for sleeping.

What is missing? What do you want to see?

One (or several) high level Sleep function.

How do you propose to implement this?

Environment:

Baremetal

Acceptance Criteria:

What can you do yourself and what do you need help with?

All

elsalahy commented 2 years ago

This is covered in #205