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
Parameter | Description |
---|---|
[out] p_enable | True if local privacy is enabled, otherwise false. |
[out] p_privacyParams | Pointer to the BLE_GAP_LocalPrivacyParams_T structure to store current privacy parameters. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully retrieves privacy parameters. |
MBA_RES_OOM | Internal memory allocation failure occurred. |