XDK API  3.6.0
Documentation
Data Structures | Macros | Typedefs | Functions | Variables
LWM2MObjectHumidity.h File Reference

Interface header for LWM2MObjectHumidity file. More...

+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  LWM2MObjectHumidityResource_S
 LWM2M resource data for humidity. More...
 

Macros

#define LWM2M_OBJECTID_IPSO_HUMIDITY   UINT16_C(3304)
 LWM2M object id for humidity. More...
 

Typedefs

typedef struct
LWM2MObjectHumidityResource_S 
LWM2MObjectHumidityResource_T
 

Functions

void LWM2MObjectHumidity_Disable (void)
 Disable LWM2M object instance to stop providing sensor data. Sets unit to "" and all other values to 0. Function is thread safe, it schedules a job for serval. Execution may therefore be deferred. More...
 
void LWM2MObjectHumidity_Enable (float minRangeValue, float maxRangeValue)
 Enables the LWM2M object instance to start providing sensor data. Function is thread safe, it schedules a job for serval. Execution may therefore be deferred. More...
 
void LWM2MObjectHumidity_Init (void)
 Initialize LWM2M object instance. Must be called before any other function call. More...
 
void LWM2MObjectHumidity_SetValue (float sensorValue_prH)
 the function set the current measured sensorValue in [%] More...
 

Variables

LWM2MObjectHumidityResource_T LWM2MObjectHumidityResources
 LWM2M resource data for instance 0. More...
 

Macro Definition Documentation

#define LWM2M_OBJECTID_IPSO_HUMIDITY   UINT16_C(3304)

Typedef Documentation

Function Documentation

void LWM2MObjectHumidity_Disable ( void  )

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MObjectHumidity_Enable ( float  minRangeValue,
float  maxRangeValue 
)
Parameters
[in]minRangeValueminimum range of possible values in [%]
[in]maxRangeValuemaximum range of possible values in [%]

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MObjectHumidity_Init ( void  )

Refer interface header for description

void LWM2MObjectHumidity_SetValue ( float  sensorValue_prh)

Will triggers the sending of a notification, if the value was changed. Function is thread safe, it schedules a job for serval. Execution may therefore be deferred.

Parameters
[in]sensorValue_prHcurrent sensor value in [%]

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

LWM2MObjectHumidityResource_T LWM2MObjectHumidityResources

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