Lines Matching full:sensor

14  * @defgroup sensing_sensor_types Sensor Types
37 * @brief Sensor Version
52 * @brief Macro to create a sensor version value.
63 * @brief Sensor flag indicating if this sensor is on event reporting data.
65 * Reporting sensor data when the sensor event occurs, such as a motion detect sensor reporting
71 * @brief Sensor flag indicating if this sensor is on change reporting data.
73 * Reporting sensor data when the sensor data changes.
86 * @brief Sensing subsystem sensor state.
90 SENSING_SENSOR_STATE_READY = 0, /**< The sensor is ready. */
91 SENSING_SENSOR_STATE_OFFLINE = 1, /**< The sensor is offline. */
95 * @brief Sensing subsystem sensor config attribute
99 /** The interval attribute of a sensor configuration. */
101 /** The sensitivity attribute of a sensor configuration. */
103 /** The latency attribute of a sensor configuration. */
105 /** The maximum number of attributes that a sensor configuration can have. */
110 * @brief Define Sensing subsystem sensor handle
116 * @brief Sensor data event receive callback.
118 * @param handle The sensor instance handle.
119 * @param buf The data buffer with sensor data.
129 * @brief Sensor basic constant information
133 /** Name of the sensor instance */
136 /** Friendly name of the sensor instance */
139 /** Vendor name of the sensor instance */
142 /** Model name of the sensor instance */
145 /** Sensor type */
158 sensing_data_event_t on_data_event; /**< Callback function for a sensor data event. */
164 * @brief Sensing subsystem sensor configure, including interval, sensitivity, latency
168 enum sensing_sensor_attribute attri; /**< Attribute of the sensor configuration. */
171 int8_t data_field; /**< Data field of the sensor configuration. */
174 /** Interval between two sensor samples in microseconds (us). */
178 * Sensitivity threshold for reporting new data. A new sensor sample is reported
185 * Maximum duration for batching sensor samples before reporting in
186 * microseconds (us). This defines how long sensor samples can be
194 * @brief Get all supported sensor instances' information.
196 * This API just returns read only information of sensor instances, pointer info will
198 * no side effect to sensor instances.
200 * @param num_sensors Get number of sensor instances.
201 * @param info For receiving sensor instances' information array pointer.
207 * @brief Open sensor instance by sensing sensor info
209 * Application clients use it to open a sensor instance and get its handle.
210 * Support multiple Application clients for open same sensor instance,
214 * @param info The sensor info got from \ref sensing_get_sensors
226 * @brief Open sensor instance by device.
228 * Application clients use it to open a sensor instance and get its handle.
229 * Support multiple Application clients for open same sensor instance,
244 * @brief Close sensor instance.
246 * @param handle The sensor instance handle need to close.
255 * @param handle The sensor instance handle.
267 * @param handle The sensor instance handle.
277 * @brief Get sensor information from sensor instance handle.
279 * @param handle The sensor instance handle.