anjay
anjay_sw_mgmt_settings_t Struct Reference

#include <sw_mgmt.h>

Data Fields

const anjay_sw_mgmt_handlers_thandlers
 
void * obj_ctx
 
bool prefer_same_socket_downloads
 

Detailed Description

Experimental:
This is experimental Software Management object API. This API can change in future versions without any notice.

Settings of the Software Management module, global for all instances installed.

Field Documentation

◆ handlers

const anjay_sw_mgmt_handlers_t* handlers

Pointer to a set of handler functions that handle the platform-specific part of software management. Note: Contents of the structure are NOT copied, so it needs to remain valid for the lifetime of the object.

◆ obj_ctx

void* obj_ctx

Opaque pointer to object-wide user data that will be passed as the first argument to handler functions.

◆ prefer_same_socket_downloads

bool prefer_same_socket_downloads

Informs the module to try reusing sockets of existing LwM2M Servers to download the software package if the download URI matches any of the LwM2M Servers.


The documentation for this struct was generated from the following file: