XDK API  3.6.0
Documentation
Macros | Functions | Variables
LWM2MSensorDeviceIlluminance.c File Reference

This file provides the implementation of LWM2MSensorDeviceIlluminance module. More...

#include "XdkCommonInfo.h"
#include "LWM2MObjectIlluminance.h"
#include "LWM2MSensorDeviceIlluminance.h"
#include "XDK_SensorHandle.h"
#include <Serval_Lwm2m.h>
#include "FreeRTOS.h"
#include "task.h"
+ Include dependency graph for LWM2MSensorDeviceIlluminance.c:

Macros

#define BCDS_MODULE_ID   XDK_COMMON_ID_LWM2MSENSORDEVICEILLUMINANCE
 

Functions

void LWM2MSensorDeviceIlluminance_Activate (bool enable)
 Initialize sensor. Initialize sensor, setting it active or inactive and initialize the lwm2m object accordingly. Intended to be only called by the sensors timer thread. More...
 
void LWM2MSensorDeviceIlluminance_Update (enum ProcessingMode mode, bool notify)
 Read sensor values and process them. Read the value from the sensor, process it according the provided mode and transfer it to lwm2m objects, when notify indicates that. Intended to be only called by the sensors timer thread. More...
 

Variables

static
SensorDeviceProcessDataFloat_T 
SensorDeviceData = { { { 0 } }, 1, 0, CURRENT, false }
 

Macro Definition Documentation

#define BCDS_MODULE_ID   XDK_COMMON_ID_LWM2MSENSORDEVICEILLUMINANCE

Function Documentation

void LWM2MSensorDeviceIlluminance_Activate ( bool  enable)

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MSensorDeviceIlluminance_Update ( enum ProcessingMode  mode,
bool  notify 
)

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

SensorDeviceProcessDataFloat_T SensorDeviceData = { { { 0 } }, 1, 0, CURRENT, false }
static

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