GATTC_Init
C
uint16_t GATTC_Init(uint16_t configuration);
Description
Initialize GATT Client module.
Parameters
Parameter | Description |
---|---|
[in] configuration | Bit-field configuring GATT Client configurable functions. GATT client configuration definitions for bit definition. - If manual mode is configured then the API GATTC_HandleValueConfirm should be called to send a confirmation for an indication when event GATTC_EVT_HV_INDICATE is received. - If auto mode is configured then the GATT stack takes care of sending confirmation. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Success initialize GATT client module. |
MBA_RES_OOM | Internal memory allocation failure. |