Rock Monitoring  V 1.0
SensorStab.cpp File Reference
#include "SensorStab.h"
Include dependency graph for SensorStab.cpp:

Go to the source code of this file.

Enumerations

enum  State {
  wakingUP, dataRequest, receive, sendServer,
  sendSleepCommand, sleep, wakingUP, measure,
  sendToGateway, sleep, sleepCommand
}
 
enum  communicationState { send, activityDetection, waitForRequest }
 
enum  sleepState { activity, waitSleepCommand }
 

Variables

uint64_t numberOfTrys =0
 
uint64_t numberOfSuccess =0
 
uint64_t numberOfFails =0
 

Enumeration Type Documentation

Enumerator
send 
activityDetection 
waitForRequest 

Definition at line 7 of file SensorStab.cpp.

enum sleepState
Enumerator
activity 
waitSleepCommand 

Definition at line 10 of file SensorStab.cpp.

enum State
Enumerator
wakingUP 
dataRequest 
receive 
sendServer 
sendSleepCommand 
sleep 
wakingUP 
measure 
sendToGateway 
sleep 
sleepCommand 

Definition at line 4 of file SensorStab.cpp.

Variable Documentation

uint64_t numberOfFails =0

Definition at line 15 of file SensorStab.cpp.

uint64_t numberOfSuccess =0

Definition at line 14 of file SensorStab.cpp.

uint64_t numberOfTrys =0

Definition at line 13 of file SensorStab.cpp.