65#define LWM2M_CLIENT_RCV_BUFFER_SIZE (200)
71#define LWM2M_CLIENT_REBOOT_TIME (5)
79#define LWM2M_CLIENT_MIN_REFRESH_TIME (1)
91 lwm2m_object_t *obj_list[],
int16_t kernel_pid_t
Unique process identifier.
static lwm2m_context_t * lwm2m_client_get_ctx(lwm2m_client_data_t *client_data)
Returns the LwM2M context of a LwM2M client.
void lwm2m_client_init(lwm2m_client_data_t *client_data)
Initializes a LwM2M client.
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.
struct lwm2m_client_connection lwm2m_client_connection_t
Connection to server descriptor.
LwM2M client configurations.
Power management interface.
stdio wrapper to extend the C libs stdio
Common IP-based transport layer end point.
Connection to server descriptor.
time_t last_send
last sent packet to the server
sock_udp_ep_t remote
remote endpoint
struct lwm2m_client_connection * next
pointer to the next connection
lwm2m_client_connection_t * conn_list
LwM2M connections list.
kernel_pid_t pid
PID of the client thread.
sock_udp_t sock
UDP server sock.
sock_udp_ep_t local_ep
Local endpoint.
lwm2m_context_t * lwm2m_ctx
LwM2M context.