Hi,
I am integrating BLE in QCA4020 based development board
I am initializing the BLE through the QAPI "qapi_BLE_BSC_Initialize()". The function is returning error code -14. From the header file looks like -14 represents "QAPI_BLE_BTPS_ERROR_HCI_DRIVER_ERROR"
I am unable to figure out the reason behind this error to proceed further.
Appreciate if any one can help me on this.
Regards,
Jagan
Hi Jagan,
It seems the error occurs because HCI driver was not configured.
Please try following change on your code.
#define QAPI_BLE_HCI_DRIVER_SET_COMM_INFORMATION is found in qapi_ble_hcitypes.h
+ /* Set the HCI driver information. */
+ QAPI_BLE_HCI_DRIVER_SET_COMM_INFORMATION(&HCI_DriverInformation, 1, 115200, QAPI_BLE_COMM_PROTOCOL_UART_E);
Thanks
BR,
Jayden
Thanks Jayden, setting the HCI driver information worked.