Struct anjay_sw_mgmt_settings_t

Struct Documentation

struct anjay_sw_mgmt_settings_t

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

Public Members

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.

void *obj_ctx

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

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.