Wakaama adaption to RIOT for implementing a LwM2M client.
More...
Wakaama adaption to RIOT for implementing a LwM2M client.
|
file | lwm2m_client.h |
| Definitions and public API for a LwM2M client using Wakaama.
|
|
file | lwm2m_client_connection.h |
| Public API and definitions of the connection handle for LwM2M client implementation using Wakaama.
|
|
file | lwm2m_client_objects.h |
| Public API and definitions for the helper functions to interact with basic objects from a LwM2M client.
|
|
◆ LWM2M_CLIENT_MIN_REFRESH_TIME
#define LWM2M_CLIENT_MIN_REFRESH_TIME (1) |
Time in seconds to wait until LwM2M is refreshed.
- Note
- This time is used as the timeout for receiving UDP packets and will be the maximum time to wait between calls to wakaama core.
Definition at line 81 of file lwm2m_client.h.
◆ lwm2m_client_get_ctx()
Returns the LwM2M context of a LwM2M client.
- Parameters
-
[in] | client_data | pointer to the LwM2M client descriptor |
- Returns
- Pointer to the LwM2M context
Definition at line 113 of file lwm2m_client.h.
◆ lwm2m_client_init()
Initializes a LwM2M client.
- Note
- This functions initializes the memory allocation and is needed before calling any object creation (i.e. any call to lwm2m_malloc).
- Parameters
-
[in] | client_data | Pointer to a LwM2M client data descriptor |
◆ lwm2m_client_run()
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.
- Parameters
-
[in,out] | client_data | Pointer to a LwM2M client data descriptor |
[in] | obj_list | List of LwM2M objects to be registered |
[in] | obj_numof | Number of objects in obj_list |
- Returns
- Context of the LwM2M client