Function anjay_ipso_basic_sensor_instance_remove

Function Documentation

int anjay_ipso_basic_sensor_instance_remove(anjay_t *anjay, anjay_oid_t oid, anjay_iid_t iid)

Removes an instance of a sensor object installed in an Anjay object.

Parameters:
  • anjay – Anjay object with the installed the sensor object.

  • oid – OID of the installed object.

  • iid – IID of the removed instance. Should be lower than the number of instances passed to the corresponding anjay_ipso_basic_sensor_install

Returns:

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