Macros | Functions | Variables
LWM2MObjects.h File Reference

Interface header for LWM2MObjects file. More...

#include <Serval_Lwm2m.h>
#include "LWM2MObjectDevice.h"
#include "LWM2MObjectConnectivityMonitoring.h"
#include "LWM2MObjectFirmwareUpdate.h"
#include "LWM2MObjectGyroscope.h"
#include "LWM2MObjectMagnetometer.h"
#include "LWM2MObjectIlluminance.h"
#include "LWM2MObjectBarometer.h"
#include "LWM2MObjectTemperature.h"
#include "LWM2MObjectHumidity.h"
#include "LWM2MObjectSensorDevice.h"
#include "LWM2MObjectAccelerometer.h"
#include "LWM2MObjectLightControl.h"
#include "LWM2MObjectAlertNotification.h"
+ Include dependency graph for LWM2MObjects.h:
+ This graph shows which files directly or indirectly include this file:

Macros

#define LWM2M_RESOURCES_INDEX(table, res)   (&table.res - (Lwm2mResource_T*)&table)
 Get resource index for a Lwm2m_URI_Path_T. More...
 
#define LWM2MOBJECTS_IX_ACCELEROMETER_0   UINT32_C(9)
 
#define LWM2MOBJECTS_IX_ALERTNOTIFICATION_0   UINT32_C(14)
 
#define LWM2MOBJECTS_IX_BAROMETER_0   UINT32_C(11)
 
#define LWM2MOBJECTS_IX_CONN_MON_0   UINT32_C(1)
 
#define LWM2MOBJECTS_IX_DEVICE_0   UINT32_C(0)
 
#define LWM2MOBJECTS_IX_FIRMWARE_0   UINT32_C(2)
 
#define LWM2MOBJECTS_IX_GYROSCOPE_0   UINT32_C(12)
 
#define LWM2MOBJECTS_IX_HUMIDITY_0   UINT32_C(5)
 
#define LWM2MOBJECTS_IX_ILLUMINANCE_0   UINT32_C(3)
 
#define LWM2MOBJECTS_IX_LIGHTCONTROL_0   UINT32_C(6)
 
#define LWM2MOBJECTS_IX_LIGHTCONTROL_1   UINT32_C(7)
 
#define LWM2MOBJECTS_IX_LIGHTCONTROL_2   UINT32_C(8)
 
#define LWM2MOBJECTS_IX_MAGNETOMETER_0   UINT32_C(10)
 
#define LWM2MOBJECTS_IX_SENSORDEVICE_0   UINT32_C(13)
 
#define LWM2MOBJECTS_IX_TEMPERATURE_0   UINT32_C(4)
 

Functions

void LWM2MObjects_Init (bool ConNotifies)
 Initializes all the LWM2M Objects for XDK. More...
 

Variables

Lwm2mDevice_T LWM2MDeviceResourceInfo
 

Macro Definition Documentation

#define LWM2M_RESOURCES_INDEX (   table,
  res 
)    (&table.res - (Lwm2mResource_T*)&table)
Parameters
[in]tableresource table e.g. accelerometerResources
[in]resresource in resource table e.g. xAxis
#define LWM2MOBJECTS_IX_ACCELEROMETER_0   UINT32_C(9)

object or instance index for LWM2MObjectAccelerometer.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_ALERTNOTIFICATION_0   UINT32_C(14)

object or instance index for LWM2MObjectAlertNotification.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_BAROMETER_0   UINT32_C(11)

object or instance index for LWM2MObjectBarometer.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_CONN_MON_0   UINT32_C(1)

object or instance index for LWM2MObjectConnectivityMonitoring.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_DEVICE_0   UINT32_C(0)

object or instance index for LWM2MObjectDevice.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_FIRMWARE_0   UINT32_C(2)

object or instance index for LWM2MObjectConnectivityMonitoring.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_GYROSCOPE_0   UINT32_C(12)

object or instance index for LWM2MObjectGyroscope.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_HUMIDITY_0   UINT32_C(5)

object or instance index for LWM2MObjectHumidity.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_ILLUMINANCE_0   UINT32_C(3)

object or instance index for LWM2MObjectIlluminance.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_LIGHTCONTROL_0   UINT32_C(6)

object or instance 0 index for LWM2MObjectLightControl.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_LIGHTCONTROL_1   UINT32_C(7)

instance 1 index for LWM2MObjectLightControl.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_LIGHTCONTROL_2   UINT32_C(8)

instance 2 index for LWM2MObjectLightControl.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_MAGNETOMETER_0   UINT32_C(10)

object or instance index for LWM2MObjectMagnetometer.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_SENSORDEVICE_0   UINT32_C(13)

object or instance index for LWM2MObjectSensorDevice.h in Lwm2m_URI_Path_T

#define LWM2MOBJECTS_IX_TEMPERATURE_0   UINT32_C(4)

object or instance index for LWM2MObjectTemperature.h in Lwm2m_URI_Path_T

Function Documentation

void LWM2MObjects_Init ( bool  ConNotifies)
Parameters
[in]ConNotifiesboolean to represent if the notifications is confirmable.

Refer interface header for description

+ Here is the call graph for this function:

Variable Documentation

Lwm2mDevice_T LWM2MDeviceResourceInfo

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