1.1.2.1.2.4.8 GATTC_Init

C

uint16_t GATTC_Init(uint16_t configuration);

Description

Initialize GATT Client module.

Parameters

ParameterDescription
[in] configurationBit-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 valueDescription
MBA_RES_SUCCESSSuccess initialize GATT client module.
MBA_RES_OOMInternal memory allocation failure.