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