Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
sol-lwm2m-client.h File Reference

Routines to create Clients talking the LWM2M protocol. More...

#include "sol-lwm2m.h"

Go to the source code of this file.

Data Structures

struct  sol_lwm2m_object
 A LWM2M object implementation. More...
 

Macros

#define SOL_LWM2M_OBJECT_API_VERSION   (1)
 

Typedefs

typedef struct sol_lwm2m_client sol_lwm2m_client
 A handle to a LWM2M client. More...
 
typedef struct sol_lwm2m_object sol_lwm2m_object
 A LWM2M object implementation. More...
 

Enumerations

enum  sol_lwm2m_bootstrap_event { SOL_LWM2M_BOOTSTRAP_EVENT_FINISHED, SOL_LWM2M_BOOTSTRAP_EVENT_ERROR }
 Enum that express the bootstrapping lifecycle. More...
 

Functions

int sol_lwm2m_client_add_bootstrap_finish_monitor (struct sol_lwm2m_client *client, void(*sol_lwm2m_client_bootstrap_event_cb)(void *data, struct sol_lwm2m_client *client, enum sol_lwm2m_bootstrap_event event), const void *data)
 Adds a bootstrap monitor to the client. More...
 
int sol_lwm2m_client_add_object_instance (struct sol_lwm2m_client *client, const struct sol_lwm2m_object *obj, const void *data)
 Creates an object instance. More...
 
void sol_lwm2m_client_del (struct sol_lwm2m_client *client)
 Deletes a LWM2M client. More...
 
int sol_lwm2m_client_del_bootstrap_finish_monitor (struct sol_lwm2m_client *client, void(*sol_lwm2m_client_bootstrap_event_cb)(void *data, struct sol_lwm2m_client *client, enum sol_lwm2m_bootstrap_event event), const void *data)
 Removes a bootstrap monitor from the client. More...
 
struct sol_lwm2m_clientsol_lwm2m_client_new (const char *name, const char *path, const char *sms, const struct sol_lwm2m_object **objects, const void *data)
 Creates a new LWM2M client. More...
 
int sol_lwm2m_client_notify (struct sol_lwm2m_client *client, const char **paths)
 Notifies all the observing LWM2M servers that a resource has changed. More...
 
int sol_lwm2m_client_send_update (struct sol_lwm2m_client *client)
 Sends an update message to the LWM2M servers. More...
 
int sol_lwm2m_client_start (struct sol_lwm2m_client *client)
 Starts the LWM2M client. More...
 
int sol_lwm2m_client_stop (struct sol_lwm2m_client *client)
 Stops the LWM2M client. More...
 

Detailed Description

Routines to create Clients talking the LWM2M protocol.

Macro Definition Documentation

#define SOL_LWM2M_OBJECT_API_VERSION   (1)