Functions
Functions
BLE » Profile » Profile Client

Definitions and prototypes for Profile Client interface. More...

## Functions
uint16_t | ble_gattc_prf_add (ble_uuid_t *p_uuid, ble_evt_handler_t evt_handler)
| Add a client profile by providing its detail information. More...

## Detailed Description

Definitions and prototypes for Profile Client interface.

## Function Documentation

## ◆ ble_gattc_prf_add()

uint16_t ble_gattc_prf_add | ( | ble_uuid_t * | p_uuid,
|  | ble_evt_handler_t | evt_handler
| ) |  |

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.