#include <include/bluetooth/services/ancs_client.h>
Function for registering attributes that will be requested when bt_ancs_request_app_attr is called.
- Parameters
-
[in] | ancs_c | ANCS client instance on which the attribute is registered. |
[in] | id | ID of the attribute that is added. |
[in] | data | Pointer to the buffer where the data of the attribute can be stored. |
[in] | len | Length of the buffer where the data of the attribute can be stored. |
- Return values
-
0 | If all operations are successful. Otherwise, a (negative) error code is returned. |