XDK API  3.4.0
Documentation
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
LWM2M.c File Reference

This file handles the LWM2M module features. More...

#include "XdkCommonInfo.h"
#include "XDK_LWM2M.h"
#include <stdio.h>
#include "BCDS_NetworkConfig.h"
#include "BCDS_CmdProcessor.h"
#include "BCDS_BSP_Board.h"
#include "BCDS_BSP_LED.h"
#include "BCDS_WlanConnect.h"
#include "BSP_BoardType.h"
#include "LWM2MObjectDevice.h"
#include "LWM2MObjects.h"
#include "LWM2MDnsUtil.h"
#include "LWM2MSensorDeviceGyroscope.h"
#include "LWM2M.h"
#include <Serval_Network.h>
#include <Serval_Log.h>
#include <Serval_Timer.h>
#include <Serval_CoapClient.h>
#include <Serval_Clock.h>
#include <Serval_Scheduler.h>
#include <Serval_Lwm2m.h>
#include <Serval_OpControl.h>
#include "FreeRTOS.h"
#include "timers.h"
#include "semphr.h"
+ Include dependency graph for LWM2M.c:

Data Structures

struct  RegistrationInfo_S
 Typedef to represent the registration information. More...
 

Macros

#define BCDS_MODULE_ID   XDK_COMMON_ID_LWM2M
 
#define DNS_REPEAT_TIME_IN_S   UINT16_C(60 * 5)
 
#define LED_MUTEX_TIMEOUT   (100/(portTICK_PERIOD_MS))
 
#define LWM2M_MAX_DTLS_SESSION_ID_SIZE   0
 
#define LWM2M_NUMBER_OF_SERVERS   UINT32_C(1)
 
#define LWM2M_REG_UPDATE_RETRY_MAX   UINT8_C(10)
 
#define LWM2M_REGISTRATION_SCHEDULED   1
 
#define LWM2M_REGISTRATION_UPDATE_INTERVAL(LIFETIME)   ((LIFETIME * 4 )/ 5)
 
#define LWM2M_REPORTING_SUPPORT_SUSPEND   1
 
#define LWM2M_SERVER_INDEX   UINT32_C(0)
 
#define LWM2M_TIME_CHANGE_NOTIFICATION_PERIOD   UINT32_C(5000)
 
#define LWM2M_TIMER_START_OR_STOP_TIMEOUT   UINT32_C(1000)
 
#define LWM2M_URL_FORMAT_NON_SECURE   "coap://%s:%d"
 
#define LWM2M_URL_FORMAT_SECURE   "coaps://%s:%d"
 
#define MAX_SERVAL_SCHEDULER_TRIES   UINT8_C(20)
 
#define MILLIS_TO_SEC(MS)   ((MS)/UINT32_C(1000))
 
#define ORANGE_LED_HOLD_TIME_IN_MS   UINT32_C(5000)
 
#define REBOOT_MSG_DELAY_IN_MS   UINT8_C(100)
 
#define REBOOT_STATE_EMERGENCY   UINT8_C(15)
 
#define REBOOT_STATE_EXECUTE   UINT8_C(5)
 
#define REBOOT_STATE_INIT   UINT8_C(0)
 
#define REBOOT_STATE_START   UINT8_C(1)
 
#define RED_LED_HOLD_TIME_IN_MS   UINT32_C(5000)
 
#define SYSTEM_TIMER_INTERVAL_IN_MS   UINT16_C(1000)
 
#define YELLOW_LED_HOLD_TIME_IN_MS   UINT32_C(2000)
 

Typedefs

typedef enum BSP_LED_Command_E BSP_LED_Command_T
 
typedef enum DnsState_E DnsState_T
 Typedef to represent the DNS state. More...
 
typedef struct RegistrationInfo_S RegistrationInfo_T
 
typedef enum
RegistrationSessionState_E 
RegistrationSessionState_T
 typedef to represent the registration session state. More...
 
typedef enum
ServerRegistrationState_E 
ServerRegistrationState_T
 Typedef to represent the server registration state. More...
 

Enumerations

enum  DnsState_E
 Enum to represent the DNS state. More...
 
enum  RegistrationSessionState_E
 Enum representing the registration session state. More...
 
enum  ServerRegistrationState_E
 Enum to represent the server registration state. More...
 

Functions

static void AdjustLastSetLedTime (volatile uint64_t *ledTime)
 This function adjusts the last set led time. More...
 
static retcode_t CallRebootNow (Callable_T *callable_ptr, retcode_t status)
 Scheduler callback for reboot task. Calls OpControl_trySleep and, if not RC_RETRY_SLEEP_LATER, calls rebootNow. More...
 
static bool CheckLastSetLedTime (volatile uint64_t *ledTime, uint64_t now, uint32_t timeout)
 This function checks the last set led time. More...
 
static void DeregistrationCallback (uint8_t serverIdx, retcode_t status)
 The function is to deregister the device in LWM2M Server. More...
 
static void DnsCallback (retcode_t rc, const char *resolvedURL, void *context)
 Callback from asynchrony DNS. More...
 
static const char * GetDnsStateName (DnsState_T state)
 Get DNS state name. Usually used by logging. More...
 
static const char * GetRegistrationStateName (ServerRegistrationState_T state)
 Get registration state name. Usually used by logging. More...
 
static uint8_t GetServerIdxByInfo (RegistrationInfo_T *info)
 Get server index by registration info. More...
 
static Retcode_T InitFotaStateMachine (void)
 
static void Interface_RegisterStateToLed (uint8_t serverIdx)
 Adjust LEDs according registration state. More...
 
Retcode_T LWM2M_AlertNotification (char *value)
 The function initiates an alert notification. More...
 
Retcode_T LWM2M_ConnectivityMonitoring (LWM2M_ConnectivityMonitoring_T notify, void *value)
 The function sets LWM2M Connectivity Monitoring parameters. More...
 
Retcode_T LWM2M_Enable (void)
 This will enable the LWM2M. More...
 
Retcode_T LWM2M_LedMixModeControl (LWM2M_LedMixMode_T state)
 The function initiates provides a safe LED configuration for the application when the Light control is not confined only with the LWM2M module, but also shared for the application. More...
 
void LWM2M_OrangeLedSetState (bool on)
 Set state of the orange LED. More...
 
void LWM2M_Reboot (void)
 Reboot the device. More...
 
void LWM2M_RebootNow (const char *msg)
 Reboots the device. Prints last message and wait before reboot the device, if SERVAL_LOG_LEVEL is at least SERVAL_LOG_LEVEL_ERROR. More...
 
void LWM2M_RedLedSetState (bool on)
 Set state of the red LED. More...
 
Retcode_T LWM2M_Register (void)
 The function initiates the LWM2M registration of the node to the LWM2M Server. More...
 
void LWM2M_SetOrangeLedStateChangeHandler (LWM2M_LedStateChangeHandler_T handler)
 Set change handler for orange LED. More...
 
void LWM2M_SetRedLedStateChangeHandler (LWM2M_LedStateChangeHandler_T handler)
 Set change handler for red LED. More...
 
Retcode_T LWM2M_Setup (LWM2M_Setup_T *setup)
 This will setup the LWM2M. More...
 
void LWM2M_SetYellowLedStateChangeHandler (LWM2M_LedStateChangeHandler_T handler)
 Set change handler for yellow LED. More...
 
Retcode_T LWM2M_TriggerForceRegister (void)
 The function forcefully triggers the LWM2M registration of the node to the LWM2M Server irrespective of the current node status. More...
 
void LWM2M_YellowLedSetState (bool on)
 Set state of the yellow LED. More...
 
static void LWM2MApplicationCallback (Lwm2m_Event_Type_T eventType, Lwm2m_URI_Path_T *path, retcode_t status)
 This is the callback function triggered after an event occurred in the stack that need to be notified to the application. More...
 
static Lwm2m_Binding_T LWM2MGetBinding (const char *Binding)
 
static retcode_t Lwm2mInterface_copyToBuffer (OutputBuffer_T *buffer, const char *data, uint16_t len)
 This function can be used to copy the LWM2M information to the buffer. More...
 
static retcode_t LWM2MSecurityCallback (SecurityToken_T token, SecurityData_T *tokenData)
 LWM2MSecurityCallback is a Callback function registered to the stack which will be used to obtain security information such as pre-shared-keys, certificates, etc. More...
 
static void LWM2MSetLedState (uint32_t handle, BSP_LED_Command_T operation, LWM2M_LedStateChangeHandler_T handler)
 Set led state. More...
 
static void RegistrationCallback (uint8_t serverIdx, retcode_t status)
 The function is to get the registration status of the Device while connection to LWM2M Server and It will toggle the Orange LED to indicate the Registration Success State and Red LED will indicate the Registration Failure state. More...
 
static void RegistrationTimer (uint8_t serverIdx, uint64_t timeMillis)
 Timer callback to handler registration interface. More...
 
static void RegistrationUpdateCallback (uint8_t serverIdx, retcode_t status)
 The function is to get the Updated Registration status of the Device while re-connection to LWM2M Server. More...
 
static retcode_t SendRegistration (Callable_T *callable, retcode_t status)
 Check and send registration interface request. Intended to be called by serval scheduler. May be called also from timer (experimental), depending on LWM2M_REGISTRATION_SCHEDULED. More...
 
void TimeChanged (xTimerHandle pxTimer)
 This function is used to. More...
 
static void TimeChangedHandler (void *param1, uint32_t data)
 Handler to check the reboot state machine and the registration interface. More...
 
static void UpdateRegistrationState (uint8_t serverIdx, enum ServerRegistrationState_E state)
 Update registration state. Set state and adjust lastRegistrationMessage and lastRegistrationLifetime according the current values. After startup only called within serval scheduler. More...
 

Variables

static CmdProcessor_T FotaCmdProcessor
 
static xSemaphoreHandle LedMutexHandle
 
static volatile uint64_t LWM2MLastSetOrange = 0
 
static volatile uint64_t LWM2MLastSetRed = 0
 
static volatile uint64_t LWM2MLastSetYellow = 0
 
static uint32_t LWM2MOrangeLedHandle = (uint32_t) BSP_XDK_LED_O
 
static
LWM2M_LedStateChangeHandler_T 
LWM2MOrangeLedStateChangeHandler = NULL
 
static uint32_t LWM2MRedLedHandle = (uint32_t) BSP_XDK_LED_R
 
static
LWM2M_LedStateChangeHandler_T 
LWM2MRedLedStateChangeHandler = NULL
 
static char LWM2MServerURL [80] = { 0 }
 
static LWM2M_Setup_T LWM2MSetup
 
static bool LWM2MUseLedsForRegistration = false
 
static uint32_t LWM2MYellowLedHandle = (uint32_t) BSP_XDK_LED_Y
 
static
LWM2M_LedStateChangeHandler_T 
LWM2MYellowLedStateChangeHandler = NULL
 
static Callable_T RebootCallable
 
static volatile uint8_t RebootState = REBOOT_STATE_INIT
 
static RegistrationInfo_T ServerRegistrationInfo [LWM2M_MAX_NUMBER_SERVERS]
 
static volatile uint8_t Started = 0
 
static xTimerHandle TimeChangeTimer_ptr = NULL
 

Macro Definition Documentation

#define BCDS_MODULE_ID   XDK_COMMON_ID_LWM2M
#define DNS_REPEAT_TIME_IN_S   UINT16_C(60 * 5)

repeat DNS lookup after 5 min (after tests => 12 h)

#define LED_MUTEX_TIMEOUT   (100/(portTICK_PERIOD_MS))

timeout for LED mutex functions

#define LWM2M_MAX_DTLS_SESSION_ID_SIZE   0
#define LWM2M_NUMBER_OF_SERVERS   UINT32_C(1)

Macro for the LWM2M server index which can take any value between 0 to (LWM2M_NUMBER_OF_SERVERS -1 ). Here number of servers is configured as 1, hence to get memory of that server, the index value is passed as 0

#define LWM2M_REG_UPDATE_RETRY_MAX   UINT8_C(10)
#define LWM2M_REGISTRATION_SCHEDULED   1

calls to Lwm2mRegistration_update/registration from serval scheduler

#define LWM2M_REGISTRATION_UPDATE_INTERVAL (   LIFETIME)    ((LIFETIME * 4 )/ 5)

calculate update interval from lifetime

#define LWM2M_REPORTING_SUPPORT_SUSPEND   1
#define LWM2M_SERVER_INDEX   UINT32_C(0)

Macro for the time interval to send notification to the server about the system time change

#define LWM2M_TIME_CHANGE_NOTIFICATION_PERIOD   UINT32_C(5000)

Macro for the software timer start or stop timeout

#define LWM2M_TIMER_START_OR_STOP_TIMEOUT   UINT32_C(1000)

Macro for the maximum retry count of LWM2M registration update

#define LWM2M_URL_FORMAT_NON_SECURE   "coap://%s:%d"

Macro for the secure serval stack expected LWM2M URL format

#define LWM2M_URL_FORMAT_SECURE   "coaps://%s:%d"

Macro for the number of LWM2M servers

#define MAX_SERVAL_SCHEDULER_TRIES   UINT8_C(20)

maximum number of TimeChanged calls with pending registration callback before LED alert

#define MILLIS_TO_SEC (   MS)    ((MS)/UINT32_C(1000))

convert milliseconds to seconds Macro for the non secure serval stack expected LWM2M URL format

#define ORANGE_LED_HOLD_TIME_IN_MS   UINT32_C(5000)

time in milliseconds to stick at least on the value set by LWM2M_OrangeLedSetState

#define REBOOT_MSG_DELAY_IN_MS   UINT8_C(100)

last sleep on reboot to give logging a chance

#define REBOOT_STATE_EMERGENCY   UINT8_C(15)

emergency reboot, if graceful reboot could not be done in time

#define REBOOT_STATE_EXECUTE   UINT8_C(5)

execute reboot, gracefully, set serval to sleep (stores MID/Token, if possible)

#define REBOOT_STATE_INIT   UINT8_C(0)

Initial state for reboot

#define REBOOT_STATE_START   UINT8_C(1)

reboot started, stop registration handling, wait sometime for the ACK to be sent

#define RED_LED_HOLD_TIME_IN_MS   UINT32_C(5000)

time in milliseconds to stick at least on the value set by LWM2M_RedLedSetState

#define SYSTEM_TIMER_INTERVAL_IN_MS   UINT16_C(1000)
#define YELLOW_LED_HOLD_TIME_IN_MS   UINT32_C(2000)

time in milliseconds to stick at least on the value set by LWM2M_YellowLedSetState

Typedef Documentation

LWM2M server URL. The size is fixed as 80U considering the overhead of protocol, URL string (65) and port number

typedef enum DnsState_E DnsState_T

Enumeration Type Documentation

enum DnsState_E
Enumerator
DNS_NONE 
DNS_HOST 
DNS_PENDING 
DNS_RESOLVED 
DNS_ERROR 
Enumerator
NO_SESSION 
SAME_SESSION 
NEW_SESSION 
LOST_SESSION 
CHANGED_SESSION 
Enumerator
SRS_NONE 
SRS_ENABLED 
SRS_RETRY_REGISTRATION 
SRS_REGISTRATION_PENDING 
SRS_REGISTRATED 
SRS_UPDATE_PENDING 
SRS_DEREGISTRATION_PENDING 
SRS_SEND_FAILED 
SRS_REGISTRATION_TIMEOUT 
SRS_UPDATE_TIMEOUT 

Function Documentation

static void AdjustLastSetLedTime ( volatile uint64_t *  ledTime)
static
Parameters
in/out]ledTime time in milliseconds

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static retcode_t CallRebootNow ( Callable_T callable_ptr,
retcode_t  status 
)
static
Parameters
callable_ptrUnused
statusUnused
Returns
RC_OK in case of success and error code otherwise.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool CheckLastSetLedTime ( volatile uint64_t *  ledTime,
uint64_t  now,
uint32_t  timeout 
)
static
Parameters
in/out]ledTime time in milliseconds
[in]nowtime in milliseconds
[in]timeouttimeout
Returns
true if successful false for failure

+ Here is the caller graph for this function:

static void DeregistrationCallback ( uint8_t  serverIdx,
retcode_t  status 
)
static
Parameters
[in]serverIdxserver index
[in]statusregistration status

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DnsCallback ( retcode_t  rc,
const char *  resolvedURL,
void *  context 
)
static
Parameters
[in]rcresult code of DNS lookup.
[in]resolvedURLresolved URL, if DNS lookup was successful.
[in]contextcontext pointer.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static const char* GetDnsStateName ( DnsState_T  state)
static
Parameters
[in]stateDNS state
Returns
name of DNS state

+ Here is the caller graph for this function:

static const char* GetRegistrationStateName ( ServerRegistrationState_T  state)
static
Parameters
[in]stateregistration state
Returns
name of registration state

+ Here is the caller graph for this function:

static uint8_t GetServerIdxByInfo ( RegistrationInfo_T info)
static
Parameters
[in]inforegistration info
Returns
server index, LWM2M_MAX_NUMBER_SERVERS if no server index for provided server info was not found.

+ Here is the caller graph for this function:

static Retcode_T InitFotaStateMachine ( void  )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void Interface_RegisterStateToLed ( uint8_t  serverIdx)
static
Parameters
[in]serverIdxserver index.
Note
Currently only index 0 is supported.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2M_OrangeLedSetState ( bool  on)

Refer private header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2M_Reboot ( void  )

Refer private header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2M_RebootNow ( const char *  msg)

Refer private header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2M_RedLedSetState ( bool  on)

Refer private header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LWM2M_SetOrangeLedStateChangeHandler ( LWM2M_LedStateChangeHandler_T  handler)

Refer private header for description

+ Here is the caller graph for this function:

void LWM2M_SetRedLedStateChangeHandler ( LWM2M_LedStateChangeHandler_T  handler)

Refer private header for description

+ Here is the caller graph for this function:

void LWM2M_SetYellowLedStateChangeHandler ( LWM2M_LedStateChangeHandler_T  handler)

Refer private header for description

+ Here is the caller graph for this function:

void LWM2M_YellowLedSetState ( bool  on)

Refer private header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void LWM2MApplicationCallback ( Lwm2m_Event_Type_T  eventType,
Lwm2m_URI_Path_T path,
retcode_t  status 
)
static
Parameters
[in]eventTypeTo specify which event we are notifying the application about (registration success or resources changed)
[in]pathstructure containing the uri path of the target
[in]statuswill tell the application about the kind of error that occurred

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Lwm2m_Binding_T LWM2MGetBinding ( const char *  Binding)
inlinestatic

+ Here is the caller graph for this function:

static retcode_t Lwm2mInterface_copyToBuffer ( OutputBuffer_T buffer,
const char *  data,
uint16_t  len 
)
inlinestatic
Parameters
[in]bufferThe input buffer
[in]dataLWM2M information
[in]length of the data
Note
This is a temporary function which will be exported by lwm2m_security in future version.

+ Here is the caller graph for this function:

static retcode_t LWM2MSecurityCallback ( SecurityToken_T  token,
SecurityData_T tokenData 
)
static
Parameters
[in]tokenThe type of token that is requested. The token.type field determines the data type of tokenData. The other fields in token determine the validity of fields in that data type and provide additional information to the application about the type of connection involved.

The mapping of the token.type field to data types of tokenData is CIPHERS -> CiphersData_T, PSK_SERVER_ID_HINT -> ServerIdHintData_T, PSK_PEER_KEY_AND_ID -> PeerKeyAndIdData_T, CRT_PEER_NAME -> PeerNameData_T, CRT_CA -> CaData_T, CRT_OWN_CERTIFICATE -> OwnCertificateData_T,

Parameters
in/out]tokenData Token data contains additional data to help identify what to provide to the implementation as well as everything required to actually provide this data. An application implementing the callback is expected to cast token data to a type depending on the type field of the provided token.

The data that is provided in output buffers must be in a format that the underlying SSL implementation can understand. No conversion is performed.

Returns
RC_OK if the token was provided RC_DTLS_TOKEN_NOT_PROVIDED if the application does not want to provide the token (e.g. client certificate) RC_DTLS_PEER_REJECTED if the application does not want to communicate with that peer RC_DTLS_UNSUPPORTED_TOKEN if the token type cannot be provided by the application RC_DTLS_INSUFFICIENT_MEMORY if the token does not fit into the allocated space

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void LWM2MSetLedState ( uint32_t  handle,
BSP_LED_Command_T  operation,
LWM2M_LedStateChangeHandler_T  handler 
)
static
Parameters
[in]handlehandle to LED
[in]operationLED operation such as ON , OFF etc
[in]handlerled state change handler

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void RegistrationCallback ( uint8_t  serverIdx,
retcode_t  status 
)
static
Parameters
[in]serverIdxserver index

param[in] status registration status

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void RegistrationTimer ( uint8_t  serverIdx,
uint64_t  timeMillis 
)
static
Parameters
[in]serverIdxserver index
[in]timeMillissystem time in milliseconds

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void RegistrationUpdateCallback ( uint8_t  serverIdx,
retcode_t  status 
)
static
Parameters
[in]serverIdxserver index
[in]statusregistration status

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static retcode_t SendRegistration ( Callable_T callable,
retcode_t  status 
)
static
Parameters
[in]callableserval callable
[in]statusstatus
Returns
RC_OK, if sent successful or if no request is required. Otherwise a error code from sending the request is returned.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TimeChanged ( xTimerHandle  pxTimer)
Parameters
[in]pxTimerUnused

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void TimeChangedHandler ( void *  param1,
uint32_t  data 
)
static
Parameters
[in]param1Unused
[in]dataUnused

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void UpdateRegistrationState ( uint8_t  serverIdx,
enum ServerRegistrationState_E  state 
)
static
Parameters
[in]serverIdxserver index
[in]stateserver state do be set.

reset DNS in case of changed address caused failure

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

CmdProcessor_T FotaCmdProcessor
static

FOTA Command Processor Handle

xSemaphoreHandle LedMutexHandle
static

Mutex for LED timing

volatile uint64_t LWM2MLastSetOrange = 0
static

system time in milliseconds of the last set by LWM2M_OrangeLedSetState

volatile uint64_t LWM2MLastSetRed = 0
static

system time in milliseconds of the last set by LWM2M_RedLedSetState

volatile uint64_t LWM2MLastSetYellow = 0
static

system time in milliseconds of the last set by LWM2M_YellowLedSetState

uint32_t LWM2MOrangeLedHandle = (uint32_t) BSP_XDK_LED_O
static

variable to store orange led handle

LWM2M_LedStateChangeHandler_T LWM2MOrangeLedStateChangeHandler = NULL
static

led state change handler to report changes of the orange LED

uint32_t LWM2MRedLedHandle = (uint32_t) BSP_XDK_LED_R
static

variable to store red led handle

LWM2M_LedStateChangeHandler_T LWM2MRedLedStateChangeHandler = NULL
static

led state change handler to report changes of the red LED

char LWM2MServerURL[80] = { 0 }
static

LWM2M setup information

LWM2M_Setup_T LWM2MSetup
static
bool LWM2MUseLedsForRegistration = false
static

indicate, to use LEDs for registration interface

uint32_t LWM2MYellowLedHandle = (uint32_t) BSP_XDK_LED_Y
static

variable to store yellow led handle

LWM2M_LedStateChangeHandler_T LWM2MYellowLedStateChangeHandler = NULL
static

led state change handler to report changes of the yellow LED

Callable_T RebootCallable
static

Reboot task for serval scheduler

volatile uint8_t RebootState = REBOOT_STATE_INIT
static

reboot state.

RegistrationInfo_T ServerRegistrationInfo[LWM2M_MAX_NUMBER_SERVERS]
static
volatile uint8_t Started = 0
static

start indicator. Used for fast registration update to validate proper registration.

xTimerHandle TimeChangeTimer_ptr = NULL
static

variable to store timer handle for time changed


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 Sat Jul 28 2018 21:51:47 by doxygen 1.8.8