1.1.2.1.1.4.22 BLE_GAP_GetLocalPrivacy

C

uint16_t BLE_GAP_GetLocalPrivacy(bool * p_enable, BLE_GAP_LocalPrivacyParams_T *p_privacyParams);

Description

Get the current local privacy mode setting parameters.

Parameters

ParameterDescription
[out] p_enableTrue if local privacy is enabled, otherwise false.
[out] p_privacyParamsPointer to BLE_GAP_LocalPrivacyParams_T structure buffer to store current privacy parameters.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully get privacy parameters.
MBA_RES_OOMInternal memory allocation failure.