Function anjay_ipso_button_update

Function Documentation

int anjay_ipso_button_update(anjay_t *anjay, anjay_iid_t iid, bool pressed)

Updates Push Button Object installed in an Anjay object.

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

  • iid – IID of the removed instance.

  • pressed – New state of the button (true if pressed).

Returns:

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