Air Quality Monitor
Portable C application for collecting, storing, and analyzing air quality sensor readings
Loading...
Searching...
No Matches
DetectedSensor Struct Reference

Result of probing one sensor mode during auto-detection. More...

#include <sensor_detector.h>

Public Attributes

char mode [32]
 Sensor mode identifier, e.g.
 
char plugin_path [256]
 Resolved plugin library path that was probed.
 
char plugin_name [64]
 Plugin-reported name, populated only if detection succeeded.
 
int detected
 Non-zero if the plugin library was found and loaded.
 
int can_initialize
 Non-zero if the loaded plugin's init() also succeeded.
 

Detailed Description

Result of probing one sensor mode during auto-detection.

Definition at line 9 of file sensor_detector.h.

Member Data Documentation

◆ mode

char DetectedSensor::mode[32]

Sensor mode identifier, e.g.

"dht22", "pms5003".

Definition at line 11 of file sensor_detector.h.


The documentation for this struct was generated from the following file: