Search code examples
sensorstizentizen-wearable-sdk

How to measure SPO2 in Tizen native application on GW3


On GW3 in sensor list I see: sensor name: SPO2 Monitor Sensor, sensor uri: http://tizen.org/sensor/healthinfo/spo2_monitor/SENSOR_SPO2_MONITOR

But when I try:

sensor_create_listener(s_info.sensor.handle, &s_info.sensor.listener); sensor_listener_set_event_cb(s_info.sensor.listener, LISTENER_TIMEOUT, _sensor_event_cb, ad); sensor_listener_set_attribute_int(s_info.sensor.listener, SENSOR_ATTRIBUTE_PAUSE_POLICY, SENSOR_PAUSE_NONE);

in call back recieve just: one event with 0 value.

How make SPO2 measurement in Tizen application?


Solution

  • As far as I know, SPO2 is not a sensor supported by Tizen public API. This means that it is not open to application developers.

    Refer to the link below for a list of sensors that can be used by developers. https://docs.tizen.org/application/native/guides/location-sensors/device-sensors/#sensorlistener