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

Interface header for LWM2MObjectGyroscope file. More...

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

Data Structures

struct  LWM2MLWM2MObjectGyroscope_Resource_S
 LWM2M resource data for barometer. More...
 

Macros

#define LWM2M_OBJECTID_GYROSCOPE   3334
 LWM2M object id for Gyroscope. More...
 

Typedefs

typedef struct
LWM2MLWM2MObjectGyroscope_Resource_S 
LWM2MLWM2MObjectGyroscope_Resource_T
 

Functions

void LWM2MObjectGyroscope_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 LWM2MObjectGyroscope_Enable (float minRange, float maxRange)
 Enable 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 LWM2MObjectGyroscope_Init (void)
 Initialize LWM2M object instance. Must be called before any other function call. More...
 
void LWM2MObjectGyroscope_SetValues (float xValue, float yValue, float zValue)
 Set values for x-, y-, and z-axis. More...
 

Variables

LWM2MLWM2MObjectGyroscope_Resource_T LWM2MObjectGyroscopeResources
 LWM2M resource data for instance 0. More...
 

Macro Definition Documentation

#define LWM2M_OBJECTID_GYROSCOPE   3334

Typedef Documentation

Function Documentation

void LWM2MObjectGyroscope_Disable ( void  )

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MObjectGyroscope_Enable ( float  minRangeValue,
float  maxRangeValue 
)
Parameters
[in]minRangeminimum range of value in [Deg/s].
[in]maxRangemaximum range of value in [Deg/s].

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MObjectGyroscope_Init ( void  )

Refer interface header for description

void LWM2MObjectGyroscope_SetValues ( float  xValue,
float  yValue,
float  zValue 
)

Set values for axis, units in "Deg/s". Will triggers the sending of a notification, if a values was changed. Function is thread safe, it schedules a job for serval. Execution may therefore be deferred.

Parameters
[in]xValuevalue of x-axis in [Deg/s]
[in]yValuevalue of y-axis in [Deg/s]
[in]zValuevalue of z-axis in [Deg/s]

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

LWM2MLWM2MObjectGyroscope_Resource_T LWM2MObjectGyroscopeResources

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