Function anjay_ipso_v2_3d_sensor_install

Function Documentation

int anjay_ipso_v2_3d_sensor_install(anjay_t *anjay, anjay_oid_t oid, const char *version, size_t instance_count)

Installs a three-axis IPSO object.

Parameters:
  • anjay – Anjay object for which the object is installed.

  • oid – Object ID of installed object.

  • version – Object version. This value is optional; version will not be reported if this value is set to NULL. The pointed string is not copied, so user code must assure that the pointer will remain valid for the lifetime of the object.

  • instance_count – Maximum count of instances of installed object.

Returns:

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