Function anjay_ipso_button_instance_add

Function Documentation

int anjay_ipso_button_instance_add(anjay_t *anjay, anjay_iid_t iid, const char *application_type)

Add an instance of the Push Button Object installed in an Anjay object.

Parameters:
  • anjay – Anjay object with the Push Button Object installed.

  • iid – IID of the added instance.

  • application_type – “Application type” string for the button instance, is copied during the instance initialization, should not be longer than 40 characters.

Returns:

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