|
Generalized-Core-Counter 3.20
Particle-based generalized core counter firmware
|
Singleton wrapper around ISensor implementations. More...
Go to the source code of this file.
Classes | |
| class | SensorManager |
Macros | |
| #define | measure SensorManager::instance() |
| Convenience macro for accessing the SensorManager singleton. | |
Variables | |
| char | internalTempStr [16] |
| char | signalStr [64] |
Singleton wrapper around ISensor implementations.
SensorManager owns a single ISensor instance and handles initialization, polling, and utility helpers like battery status, temperature conversion, and signal strength reporting. It provides a uniform interface to the rest of the firmware, regardless of which concrete sensor is attached.
Definition in file SensorManager.h.
| #define measure SensorManager::instance() |
Convenience macro for accessing the SensorManager singleton.
Usage:
Definition at line 33 of file SensorManager.h.
Referenced by handleConnectingState(), handleIdleState(), and handleReportingState().
|
extern |
|
extern |
Referenced by SensorManager::getSignalStrength().