| NRF_SUCCESS | If the device identities list was successfully set or cleared. |
| NRF_ERROR_NOT_FOUND | If a peer is invalid or its data could not be found in non-volatile storage. |
| BLE_ERROR_GAP_INVALID_BLE_ADDR | If a peer has an address that cannot be used for allow listing. |
| BLE_ERROR_GAP_DEVICE_IDENTITIES_IN_USE | If the device identities list is in use and cannot be set. |
| NRF_ERROR_INVALID_STATE | If the Peer Manager is not initialized. |
| NRF_ERROR_NOT_SUPPORTED | If using a SoftDevice that does not support device identities. |