/* Unbond a remote device. 
Unbond a remote device. This will remove all persistent information saved for this device */
ADI_BLER_RESULT adi_radio_UnBond(uint8_t *const pAddr)
/* Unbond a remote device. 
Unbond a remote device. This will remove all persistent information saved for this device */
ADI_BLER_RESULT adi_radio_UnBond(uint8_t *const pAddr)
{
    ADI_BLER_RESULT bleResult;
    ASSERT(pAddr != NULL);
    ADI_BLE_LOGEVENT(LOGID_CMD_BLESMP_UN_BOND);
    ADI_BLE_RADIO_CMD_START(CMD_BLESMP_UN_BOND);
    memcpy(&pBLERadio->cmdPkt[ADI_RADIO_CMD_HEADER_LEN], pAddr, 6u);
    bleResult = bler_process_cmd(CMD_BLESMP_UN_BOND, 6u, NULL, 0u);
    if(bleResult == ADI_BLER_SUCCESS){
    	bleResult = ADI_BLE_WAIT_FOR_COMPLETION(ADI_EVENT_FLAG_RESP_SUCCESS | ADI_EVENT_FLAG_RESP_FAILURE,ADI_BLER_CMD_TIMEOUT);
    }
    ADI_BLE_RADIO_CMD_END();
    return (bleResult);
}