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

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

#include "XdkCommonInfo.h"
#include "LWM2MObjectMagnetometer.h"
#include "LWM2MSensorDeviceMagnetometer.h"
#include "XDK_SensorHandle.h"
+ Include dependency graph for LWM2MSensorDeviceMagnetometer.c:

Macros

#define BCDS_MODULE_ID   XDK_COMMON_ID_LWM2MSENSORDEVICEMAGNETOMETER
 

Functions

void LWM2MSensorDeviceMagnetometer_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 LWM2MSensorDeviceMagnetometer_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...
 

Variables

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

Macro Definition Documentation

#define BCDS_MODULE_ID   XDK_COMMON_ID_LWM2MSENSORDEVICEMAGNETOMETER

Function Documentation

void LWM2MSensorDeviceMagnetometer_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 LWM2MSensorDeviceMagnetometer_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 } }, 3, 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