2019-03-21 05:55 PM
Hello, I am trying to send sensor data through BLE.
Below is my code I am getting BLE_STATUS_TIMEOUT (0xFF) from getBlueNRGVersion fuction as shown in code I am printing hex value just to know return val.
After that every functions returning same error . please help
BNRG_SPI_Init();
/* Initialize the BlueNRG HCI */
HCI_Init()
/* Reset BlueNRG hardware */
BlueNRG_RST();
/* get the BlueNRG HW and FW versions */
status=getBlueNRGVersion(&hwVersion, &fwVersion);
printf("\r\n status 0x%x\r\n",status);
Just in details I am getting this communication while executing this instruction
MOSI -0x0A 0x00 0x00 0x00 0x00 0x01 0x01 0x10 0x00
MISO -0x02 0x07 0x02 0x07 0x02 0x07 0x02 0x07 0x02