/* Initiate a pairing procedure. 
Initiate a pairing procedure with the remote device connected. The local device will become the "initiator" and the remote device will be the "responder" */
ADI_BLER_RESULT adi_radio_InitiatePairing(const uint16_t nConnHandle, const uint8_t nBond)
/* Initiate a pairing procedure. 
Initiate a pairing procedure with the remote device connected. The local device will become the "initiator" and the remote device will be the "responder" */
ADI_BLER_RESULT adi_radio_InitiatePairing(const uint16_t nConnHandle, const uint8_t nBond)
{
    ADI_BLER_RESULT bleResult;
    ADI_BLE_LOGEVENT(LOGID_CMD_BLESMP_INIT_PAIRING);
    ADI_BLE_RADIO_CMD_START(CMD_BLESMP_INIT_PAIRING);
    memcpy(&pBLERadio->cmdPkt[ADI_RADIO_CMD_HEADER_LEN], &nConnHandle, 2u);
    memcpy(&pBLERadio->cmdPkt[ADI_RADIO_CMD_HEADER_LEN + 2], &nBond, 1u);
    bleResult = bler_process_cmd(CMD_BLESMP_INIT_PAIRING, 3u, NULL, 0u);
    if(bleResult == ADI_BLER_SUCCESS){
    	bleResult = ADI_BLE_WAIT_FOR_COMPLETION(ADI_EVENT_FLAG_EVENT_COMPLETE,ADI_BLER_CMD_TIMEOUT);
    }
    ADI_BLE_RADIO_CMD_END();
    return (bleResult);
}