Function anjay_advanced_fw_update_install

Function Documentation

int anjay_advanced_fw_update_install(anjay_t *anjay, const anjay_advanced_fw_update_global_config_t *config)

Installs the Advanced Firmware Update object in an Anjay object.

The Advanced Firmware Update module does not require explicit cleanup; all resources will be automatically freed up during the call to anjay_delete.

Parameters:
  • anjay – Anjay object for which the Advanced Firmware Update Object is installed.

  • config – Provides configuration of preferred socked downloads and lwm2m send usage; anjay_advanced_fw_update_global_config_t

Returns:

0 on success, or a negative value in case of error.