Function anjay_ipso_3d_sensor_instance_add
Defined in File ipso_objects.h
Function Documentation
-
int anjay_ipso_3d_sensor_instance_add(anjay_t *anjay, anjay_oid_t oid, anjay_iid_t iid, const anjay_ipso_3d_sensor_impl_t impl)
Adds an instance of a three-axis 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 added instance. Should be lower than the number of instances passed to the corresponding anjay_ipso_3d_sensor_install
impl – Parameters and callbacks needed to initialize an instance.
- Returns:
0 on success, or a negative value in case of error.