31 #include <sys/types.h> 
   38 #if IS_USED(MODULE_WAKAAMA_CLIENT_DTLS) 
   59 #if IS_USED(MODULE_WAKAAMA_CLIENT_DTLS) || DOXYGEN 
   72 #if IS_USED(MODULE_WAKAAMA_CLIENT_DTLS) 
   85 #define LWM2M_CLIENT_RCV_BUFFER_SIZE  (200) 
   91 #define LWM2M_CLIENT_REBOOT_TIME  (5) 
   99 #define LWM2M_CLIENT_MIN_REFRESH_TIME   (1) 
  111                                    lwm2m_object_t *obj_list[],
 
  137 #if IS_USED(MODULE_WAKAAMA_CLIENT_DTLS) || defined(DOXYGEN) 
int16_t kernel_pid_t
Unique process identifier.
 
void lwm2m_client_refresh_dtls_credentials(void)
Refreshes the client available credentials using the currently registered security objects.
 
void lwm2m_client_init(lwm2m_client_data_t *client_data)
Initializes a LwM2M client.
 
void lwm2m_client_remove_credential(credman_tag_t tag)
Removes a credential tag from the available to use with the LwM2M DTLS sock.
 
void lwm2m_client_add_credential(credman_tag_t tag)
Adds a credential tag to be used with the LwM2M DTLS sock.
 
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.
 
static lwm2m_context_t * lwm2m_client_get_ctx(lwm2m_client_data_t *client_data)
Returns the LwM2M context of a LwM2M client.
 
lwm2m_client_connection_type_t
Type of connection to the LwM2M server.
 
@ LWM2M_CLIENT_CONN_DTLS
DTLS over UDP.
 
@ LWM2M_CLIENT_CONN_UDP
UDP.
 
uint16_t credman_tag_t
Tag of the credential.
 
LwM2M client configurations.
 
Power management interface.
 
Common IP-based transport layer end point.
 
Connection to server descriptor.
 
time_t last_send
last sent packet to the server
 
sock_dtls_session_t session
DTLS session (needs wakaama_client_dtls module)
 
lwm2m_client_connection_type_t type
type of connection
 
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.
 
Information about remote client connected to the server.
 
Information about DTLS sock.