Skip to content

Commit

Permalink
update SENSOR_STATE
Browse files Browse the repository at this point in the history
new variable SENSOR_STATES keeps track of sensing state. Following are possible states:
     1. SENSING_STATE
     2. CFG_STATE
     3. RESET_STATE

After deployment and starting the sensor, the sensor saves this state and upon further resets, sensor starts sending readings as uplinks. This is a fix for previous version where reset puts sensor in CFG mode.
  • Loading branch information
Praneethsvch committed Apr 21, 2022
1 parent bc785f1 commit c098137
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 180 deletions.
Loading

0 comments on commit c098137

Please sign in to comment.