Data Structures | Macros | Typedefs | Functions | Variables
LWM2MObjectTemperature.h File Reference

Interface header for LWM2MObjectTemperature file. More...

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

Data Structures

struct  LWM2MObjectTemperatureResource_S
 LWM2M resource data for temperature. More...
 

Macros

#define LWM2M_OBJECTID_IPSO_TEMPERATURE   3303
 LWM2M object id for temperature. More...
 

Typedefs

typedef struct
LWM2MObjectTemperatureResource_S 
LWM2MObjectTemperatureResource_T
 

Functions

void LWM2MObjectTemperature_Disable (void)
 Disable the 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 LWM2MObjectTemperature_Enable (float minRangeValue_C, float maxRangeValue_C)
 Enable 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 LWM2MObjectTemperature_Init (void)
 Initialize LWM2M object instance. Must be called before any other function call. More...
 
void LWM2MObjectTemperature_SetValue (float sensorValue_C)
 the function set the current measured sensorValue in [Cel] More...
 

Variables

LWM2MObjectTemperatureResource_T LWM2MObjectTemperatureResources
 LWM2M resource data for instance 0. More...
 

Macro Definition Documentation

#define LWM2M_OBJECTID_IPSO_TEMPERATURE   3303

Typedef Documentation

Function Documentation

void LWM2MObjectTemperature_Disable ( void  )

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MObjectTemperature_Enable ( float  minRangeValue_C,
float  maxRangeValue_C 
)
Parameters
[in]minRangeValue_Cminimum range of possible values in [Cel]
[in]maxRangeValue_Cmaximum range of possible values in [Cel]

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2MObjectTemperature_Init ( void  )

Refer interface header for description

void LWM2MObjectTemperature_SetValue ( float  sensorValue_C)

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_Ccurrent sensor value in [Cel]

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

LWM2MObjectTemperatureResource_T LWM2MObjectTemperatureResources

This documentation file has been automatically generated on Wed May 6 2020 20:45:07 by doxygen 1.8.8