/* Initialize BLE Radio. 
This API is used to initialize the bluetooth radio module.The bluetooth framework layer provides configuration information such as event callback handler.It is expected that the upper layer shall initialize the transport layer before calling this function. This API also initializes the underlying radio by sending required commands to the radio firmware. */
ADI_BLER_RESULT adi_radio_Init(ADI_CALLBACK pCallbackFunc)
/* Initialize BLE Radio. 
This API is used to initialize the bluetooth radio module.The bluetooth framework layer provides configuration information such as event callback handler.It is expected that the upper layer shall initialize the transport layer before calling this function. This API also initializes the underlying radio by sending required commands to the radio firmware. */
ADI_BLER_RESULT adi_radio_Init(ADI_CALLBACK pCallbackFunc)
{
    ADI_BLE_TRANSPORT_RESULT tResult;
    ADI_BLER_RESULT          bleResult;
    ASSERT(pCallbackFunc != NULL);
    ADI_BLE_LOGEVENT(LOGID_CMD_BLEM_INIT);
    ADI_BLE_RADIO_CMD_START(CMD_BLEM_INIT);
    tResult = adi_tal_Init(pCallbackFunc);
    RETURN_ERROR(tResult, ADI_BLE_TRANSPORT_SUCCESS, ADI_BLER_FAILURE);
    bleResult = bler_process_cmd(CMD_BLEM_INIT, 0u, 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);
}