![]() |
Edge AI Add-on API 2.2.0
|
| int data_fwd_sensor_init | ( | void | ) |
#include <samples/data_forwarder/src/sensor/data_fwd_sensor.h>
Initialize the selected sensor driver.
The concrete driver is chosen at build time via CONFIG_DATA_FWD_SENSOR_*.
| 0 | Success. |
| -ENODEV | Sensor device is not ready. |
| -ENOTSUP | Sensor configuration failed (driver-specific). |