SENSOR_DEVICE_SIGNIFICANT_MOTION = 0x100,
+ SENSOR_DEVICE_HRM_BATCH = 0x200,
+
SENSOR_DEVICE_HUMAN_PEDOMETER = 0x300,
SENSOR_DEVICE_HUMAN_SLEEP_MONITOR,
SENSOR_DEVICE_HUMAN_SLEEP_DETECTOR,
SIGNIFICANT_MOTION_SENSOR = 0x100,
+ HRM_BATCH_SENSOR = 0x200,
+
HUMAN_PEDOMETER_SENSOR = 0x300,
HUMAN_SLEEP_MONITOR_SENSOR,
HUMAN_SLEEP_DETECTOR_SENSOR,
retv_if(!ret, false);
for (auto &path : module_paths) {
+ _I("Load sensor devices from %s", path.c_str());
handle = dlopen(path.c_str(), RTLD_NOW);
retvm_if(!handle, false, "Failed to dlopen from %s because %s", path.c_str(), dlerror());
sensors.emplace_back(static_cast<T *>(results[i]));
m_modules[path.c_str()] = handle;
+ _I("Success to load sensor devices from %s", path.c_str());
}
return true;
{SIGNIFICANT_MOTION_SENSOR, "http://tizen.org/sensor/general/significant_motion"},
+ {HRM_BATCH_SENSOR, "http://tizen.org/sensor/healthinfo/hrm_batch"},
+
{HUMAN_PEDOMETER_SENSOR, "http://tizen.org/sensor/healthinfo/human_pedometer"},
{HUMAN_SLEEP_MONITOR_SENSOR, "http://tizen.org/sensor/healthinfo/human_sleep_monitor"},
{HUMAN_SLEEP_DETECTOR_SENSOR, "http://tizen.org/sensor/healthinfo/human_sleep_detector"},