Loading...
Searching...
No Matches

Definitions and public API for a LwM2M client using Wakaama. More...

Detailed Description

Definitions and public API for a LwM2M client using Wakaama.

Author
Leandro Lanzieri leand.nosp@m.ro.l.nosp@m.anzie.nosp@m.ri@h.nosp@m.aw-ha.nosp@m.mbur.nosp@m.g.de

Definition in file lwm2m_client.h.

#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>
#include "periph/pm.h"
#include "net/sock/udp.h"
#include "lwm2m_client_config.h"
#include "liblwm2m.h"
+ Include dependency graph for lwm2m_client.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lwm2m_client_connection
 Connection to server descriptor. More...
 
struct  lwm2m_client_data_t
 LwM2M client descriptor. More...
 

Macros

#define LWM2M_CLIENT_RCV_BUFFER_SIZE   (200)
 Size of the buffer for the UDP packet reception.
 
#define LWM2M_CLIENT_REBOOT_TIME   (5)
 Time in seconds to wait until reboot after a server request.
 
#define LWM2M_CLIENT_MIN_REFRESH_TIME   (1)
 Time in seconds to wait until LwM2M is refreshed.
 

Typedefs

typedef struct lwm2m_client_connection lwm2m_client_connection_t
 Connection to server descriptor.
 

Functions

lwm2m_context_t * lwm2m_client_run (lwm2m_client_data_t *client_data, lwm2m_object_t *obj_list[], uint16_t obj_numof)
 Starts a LwM2M client.
 
void lwm2m_client_init (lwm2m_client_data_t *client_data)
 Initializes a LwM2M client.
 
static lwm2m_context_t * lwm2m_client_get_ctx (lwm2m_client_data_t *client_data)
 Returns the LwM2M context of a LwM2M client.