Filter results by

Older Versions

Older API versions are available as a download. To view, extract the file and open the index.html file in a web browser.

artik_sensor_flame Struct Reference

SENSOR FLAME devices data structure. More...

#include <sensor/artik_sensor.h>

Data Fields

artik_error(* request )(artik_sensor_handle *handle, artik_sensor_config *config)
 Request a FLAME SENSOR instance. More...
 
artik_error(* release )(artik_sensor_handle handle)
 Release a FLAME SENSOR instance. More...
 
artik_error(* get_signals )(artik_sensor_handle handle, int *store)
 get_signals permit to return if an object is in front of the sensor. More...
 

Detailed Description

Structure which serve as an interface for requested SENSOR device

Definition at line 471 of file artik_sensor.h.

Field Documentation

artik_error(* artik_sensor_flame::get_signals) (artik_sensor_handle handle, int *store)
Parameters
[in]handleHandle tied to the requested FLAME communication module instance to be released. This handle is returned by the 'get_flame_sensor' function.
[out]storePointer to a variable returning the result of the function.
Returns
S_OK and store the value into the parameter on success, error code otherwise

Definition at line 509 of file artik_sensor.h.

artik_error(* artik_sensor_flame::release) (artik_sensor_handle handle)
Parameters
[in]handleHandle tied to the requested FLAME instance to be released. This handle is returned by the 'request' function.
Returns
S_OK on success, error code otherwise

Definition at line 493 of file artik_sensor.h.

artik_error(* artik_sensor_flame::request) (artik_sensor_handle *handle, artik_sensor_config *config)
Parameters
[in]handleHandle tied to the requested FLAME instance to be released. This handle is returned by the 'request' function.
[in,out]configConfiguration structure.
Returns
S_OK on success, error code otherwise

Definition at line 482 of file artik_sensor.h.


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