Air Quality Monitor
Portable C application for collecting, storing, and analyzing air quality sensor readings
Loading...
Searching...
No Matches
sensor_detector.h
1#ifndef SENSOR_DETECTOR_H
2#define SENSOR_DETECTOR_H
3
4#include "sensor/sensor_loader.h"
5
9typedef struct {
11 char mode[32];
13 char plugin_path[256];
15 char plugin_name[64];
21
29int detect_available_sensors(DetectedSensor *detected_sensors, int max_sensors);
30
35void run_auto_detection_and_prompt(void);
36
37#endif
Result of probing one sensor mode during auto-detection.
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.