Definitions and prototypes for Profile Client interface.
More...
Definitions and prototypes for Profile Client interface.
◆ ble_gattc_prf_add()
Add a client profile by providing its detail information.
- Parameters
-
[in] | p_uuid | Pointer to the target service uuid. See ble_uuid_t. |
[out] | evt_handler | Pointer to ble events handler.. |
- Return values
-
SDK_SUCCESS | The profile info is recorded successfully, and the profile ENV will be initialized in profile initialization callback function. |
SDK_ERR_POINTER_NULL | The parameter p_uuid or evt_handler is NULL, or input parameters that prf_info points to are invalid. |
SDK_ERR_NO_RESOURCES | The profile number is up to the maximum number the system can support. |