|
Generalized-Core-Counter 3.20
Particle-based generalized core counter firmware
|
Go to the source code of this file.
Classes | |
| class | SensorFactory |
| Factory for creating sensor instances. More... | |
Enumerations | |
| enum class | SensorType : uint8_t { VEHICLE_PRESSURE = 0 , PIR = 1 , VEHICLE_MAGNETOMETER = 2 , RAIN_BUCKET = 3 , VIBRATION_BASIC = 4 , VIBRATION_ADVANCED = 5 , INDOOR_OCCUPANCY = 10 , OUTDOOR_OCCUPANCY = 11 , OPENMV_OCCUPANCY = 12 , ACCEL_PRESENCE = 13 , SOIL_MOISTURE = 20 , DISTANCE = 21 , LORA_GATEWAY = 90 } |
| Enumeration of available sensor types (backward-compatible IDs). More... | |
|
strong |
Enumeration of available sensor types (backward-compatible IDs).
These numeric values are part of the external contract and must remain stable across firmware versions so that previously deployed devices and cloud tools interpret sensorType consistently.
Definition at line 33 of file SensorFactory.h.