monoZ docs
MZ_lwm2m_example1.h File Reference

Monoz LWM2M example1. More...

#include "MZ_error_handler.h"

Go to the source code of this file.

Macros

#define MZ_LWM2M_EXAMPLE1_H_
 Defines Monoz LWM2M Example1. More...
 

Functions

mz_error_t lwm2m_app_init (void)
 Initiate LWM2M App. More...
 
void lwm2m_event_process (void *event)
 LWM2M user defined callback function. More...
 

Detailed Description

Monoz LWM2M example1.

Author
MZ_click
Date
Jun 10 2021

Definition in file MZ_lwm2m_example1.h.

Macro Definition Documentation

◆ MZ_LWM2M_EXAMPLE1_H_

#define MZ_LWM2M_EXAMPLE1_H_

Defines Monoz LWM2M Example1.

Definition at line 9 of file MZ_lwm2m_example1.h.

Function Documentation

◆ lwm2m_app_init()

mz_error_t lwm2m_app_init ( void  )

Initiate LWM2M App.

Returns
MZ_OK/MZ_FAIL

Definition at line 192 of file MZ_lwm2m_example1.c.

◆ lwm2m_event_process()

void lwm2m_event_process ( void *  event)

LWM2M user defined callback function.

Process LWM2M Event.

  • START This Function will be called from MZ_callback.c mz_pro_default_callback(). User need to check the events interested based on specific application requirement. If no application requirement exist for specific event, then no action need to be taken by this function
    Note
    MonoZ_Lib will call the mz_pro_default_callback() API after processing all LWM2M server events. So the events received at this API are just to inform user application to perform any post processing tasks. MonoZ_Lib maintain server connection and Obj19 related data. The detailed event list refer MZ_Lwm2m_public.h
    Parameters
    eventvoid

Definition at line 623 of file MZ_Addon_board_CO2.c.