Soletta™ Framework
|
Routines to create Bootstrap Servers talking the LWM2M protocol. More...
#include "sol-lwm2m.h"
Go to the source code of this file.
Typedefs | |
typedef struct sol_lwm2m_bootstrap_client_info | sol_lwm2m_bootstrap_client_info |
A handle that contains information about a bootstrapping LWM2M client. More... | |
typedef struct sol_lwm2m_bootstrap_server | sol_lwm2m_bootstrap_server |
A handle to a LWM2M bootstrap server. More... | |
Functions | |
const struct sol_network_link_addr * | sol_lwm2m_bootstrap_client_info_get_address (const struct sol_lwm2m_bootstrap_client_info *client) |
Gets the bootstrap client address. More... | |
const char * | sol_lwm2m_bootstrap_client_info_get_name (const struct sol_lwm2m_bootstrap_client_info *client) |
Gets the name of bootstrap client. More... | |
int | sol_lwm2m_bootstrap_server_add_request_monitor (struct sol_lwm2m_bootstrap_server *server, void(*sol_lwm2m_bootstrap_server_request_cb)(void *data, struct sol_lwm2m_bootstrap_server *server, struct sol_lwm2m_bootstrap_client_info *bs_cinfo), const void *data) |
Adds a bootstrap request monitor to the server. More... | |
void | sol_lwm2m_bootstrap_server_del (struct sol_lwm2m_bootstrap_server *server) |
Deletes a bootstrap server instance. More... | |
int | sol_lwm2m_bootstrap_server_del_request_monitor (struct sol_lwm2m_bootstrap_server *server, void(*sol_lwm2m_bootstrap_server_request_cb)(void *data, struct sol_lwm2m_bootstrap_server *server, struct sol_lwm2m_bootstrap_client_info *bs_cinfo), const void *data) |
Removes a bootstrap request monitor from the server. More... | |
int | sol_lwm2m_bootstrap_server_delete_object_instance (struct sol_lwm2m_bootstrap_server *server, struct sol_lwm2m_bootstrap_client_info *client, const char *path, void(*sol_lwm2m_bootstrap_server_status_response_cb)(void *data, struct sol_lwm2m_bootstrap_server *server, struct sol_lwm2m_bootstrap_client_info *client, const char *path, enum sol_coap_response_code response_code), const void *data) |
Deletes an object instance on a client through the Bootstrap Interface. More... | |
struct sol_lwm2m_bootstrap_server * | sol_lwm2m_bootstrap_server_new (uint16_t port, const char **known_clients, uint16_t num_sec_modes,...) |
Creates a new LWM2M bootstrap server. More... | |
int | sol_lwm2m_bootstrap_server_send_finish (struct sol_lwm2m_bootstrap_server *server, struct sol_lwm2m_bootstrap_client_info *client) |
Signals the end of the Bootstrap Process. More... | |
int | sol_lwm2m_bootstrap_server_write (struct sol_lwm2m_bootstrap_server *server, struct sol_lwm2m_bootstrap_client_info *client, const char *path, struct sol_lwm2m_resource *resources, size_t len, void(*sol_lwm2m_bootstrap_server_status_response_cb)(void *data, struct sol_lwm2m_bootstrap_server *server, struct sol_lwm2m_bootstrap_client_info *client, const char *path, enum sol_coap_response_code response_code), const void *data) |
Writes an object instance or resource through the Bootstrap Interface. More... | |
int | sol_lwm2m_bootstrap_server_write_object (struct sol_lwm2m_bootstrap_server *server, struct sol_lwm2m_bootstrap_client_info *client, const char *path, struct sol_lwm2m_resource **instances, size_t *instances_len, uint16_t *instances_ids, size_t len, void(*sol_lwm2m_bootstrap_server_status_response_cb)(void *data, struct sol_lwm2m_bootstrap_server *server, struct sol_lwm2m_bootstrap_client_info *client, const char *path, enum sol_coap_response_code response_code), const void *data) |
Writes a full object through the Bootstrap Interface. More... | |
Routines to create Bootstrap Servers talking the LWM2M protocol.