Function anjay_lwm2m_gateway_unregister_object

Function Documentation

int anjay_lwm2m_gateway_unregister_object(anjay_t *anjay, anjay_iid_t iid, const anjay_dm_object_def_t *const *def_ptr)

Unregister an Object in LwM2M Gateway End Device Data Model.

Parameters:
  • anjay – Anjay object to operate on

  • iid – End Device Instance ID

  • def_ptr – Pointer to the Object definition struct.

Returns:

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