XDK API  3.6.0
Documentation
Functions
LWM2MSensorDeviceEnvironment.h File Reference

Interface header for SensorDeviceEnvironment file. More...

#include "LWM2MSensorDeviceUtil.h"
+ Include dependency graph for LWM2MSensorDeviceEnvironment.h:
+ This graph shows which files directly or indirectly include this file:

Functions

void LWM2MSensorDeviceEnvironment_Activate (bool enableTemperature, bool enableHumidity, bool enablePressure)
 Initialize sensor. Initialize sensors, setting them active or inactive. Though the sensor provides three seperate values, the XDK sensor is activated, if at least one sensor is active. The related lwm2m objects are initialized accordingly. Intended to be only called by the sensors timer thread. More...
 
void LWM2MSensorDeviceEnvironment_Update (enum ProcessingMode mode, bool notify)
 Read sensor values and process them. Read the values from the sensor, process them according the provided mode and transfer them to lwm2m objects, when notify indicates that. Intended to be only called by the sensors timer thread. More...
 

Function Documentation

void LWM2MSensorDeviceEnvironment_Activate ( bool  enableTemperature,
bool  enableHumidity,
bool  enablePressure 
)
Parameters
[in]enableTemperaturetrue, activate temperature false, disable temperature
[in]enableHumiditytrue, activate humidity false, disable humidity
[in]enablePressuretrue, activate pressure false, disable pressure

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MSensorDeviceEnvironment_Update ( enum ProcessingMode  mode,
bool  notify 
)
Parameters
[in]modeprocessing mode
[in]notifytrue, transfer values to lwm2m objects false, no transfer, process only

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:41 by doxygen 1.8.8