TheThingsIndustries / generic-node-se

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

board interfaces #73

Closed elsalahy closed 3 years ago

elsalahy commented 3 years ago

Summary:

Currently the APIs for controlling the board components can be considered low level and they provide great flexibility. We can probably add multiple high level interfaces like.

GNSE_Init() GNSE_Sleep() GNSE_Sensors_Init()

Why do we need this?

To reduce code clutter and improve readability and application development experience.

What is already there? What do you see now?

Low level APIs

What is missing? What do you want to see?

High level APIs of board control

How do you propose to implement this?

Environment:

Bare-Metal

Acceptance Criteria:

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

All

mcserved commented 3 years ago

@elsalahy Does a good sleep example exist for GNSE? Or should I just make the function and leave it open for now?

elsalahy commented 3 years ago

@marnixcro the basic_lorawan app is a good example, you can leave the function un implemented if you don't know what to include in it yet