Go to the documentation of this file.
20 #ifndef LWM2M_CLIENT_H
21 #define LWM2M_CLIENT_H
33 #include <sys/types.h>
67 #define LWM2M_CLIENT_RCV_BUFFER_SIZE (200)
73 #define LWM2M_CLIENT_REBOOT_TIME (5)
81 #define LWM2M_CLIENT_MIN_REFRESH_TIME (1)
93 lwm2m_object_t *obj_list[],
int16_t kernel_pid_t
Unique process identifier.
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.
static lwm2m_context_t * lwm2m_client_get_ctx(lwm2m_client_data_t *client_data)
Returns the LwM2M context of a LwM2M client.
LwM2M client configurations.
Connection to server descriptor.
void lwm2m_client_init(lwm2m_client_data_t *client_data)
Initializes a LwM2M client.
lwm2m_client_connection_t * conn_list
LwM2M connections list.
sock_udp_ep_t local_ep
Local endpoint.
struct lwm2m_client_connection lwm2m_client_connection_t
Connection to server descriptor.
lwm2m_context_t * lwm2m_ctx
LwM2M context.
sock_udp_t sock
UDP server sock.
lwm2m_object_t * obj_security
LwM2M security object.
Common IP-based transport layer end point.
sock_udp_ep_t remote
remote endpoint
Power management interface.
struct lwm2m_client_connection * next
pointer to the next connection
kernel_pid_t pid
PID of the client thread.
time_t last_send
last sent packet to the server