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

Interface header for LWM2MObjectIlluminance file. More...

#include <Serval_Lwm2m.h>
+ Include dependency graph for LWM2MObjectIlluminance.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  LWM2MObjectIlluminance_Resource_S
 LWM2M resource data for illuminance. More...
 

Macros

#define LWM2M_OBJECTID_IPSO_ILLUMINANCE   3301
 LWM2M object id for illuminance. More...
 

Typedefs

typedef struct
LWM2MObjectIlluminance_Resource_S 
LWM2MObjectIlluminance_Resource_T
 

Functions

void LWM2MObjectIlluminance_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 LWM2MObjectIlluminance_Enable (float minRange, float maxRange)
 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 LWM2MObjectIlluminance_Init (void)
 Initialize LWM2M object instance. Must be called before any other function call. More...
 
void LWM2MObjectIlluminance_SetValue (float currentValue)
 the function set the current measured sensorValue in [mlx] More...
 

Variables

LWM2MObjectIlluminance_Resource_T LWM2MObjectIlluminanceResources
 LWM2M resource data for instance 0. More...
 

Macro Definition Documentation

#define LWM2M_OBJECTID_IPSO_ILLUMINANCE   3301

Typedef Documentation

Function Documentation

void LWM2MObjectIlluminance_Disable ( void  )

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MObjectIlluminance_Enable ( float  minRange,
float  maxRange 
)
Parameters
[in]minRangeminimum range of possible values in [mlx]
[in]maxRangemaximum range of possible values in [mlx]

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MObjectIlluminance_Init ( void  )

Refer interface header for description

void LWM2MObjectIlluminance_SetValue ( float  currentValue)

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]currentValuecurrent sensor value in [mlx]

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

LWM2MObjectIlluminance_Resource_T LWM2MObjectIlluminanceResources

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