BLE_GAP_GetLocalPrivacy

C

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

Description

Retrieves the current local privacy mode setting parameters.

Parameters

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

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully retrieves privacy parameters.
MBA_RES_OOMInternal memory allocation failure occurred.