I am working on a project to developp a ble communication but i'm having some trouble to initialize and comprehend the return frame from ble.
After lowering the cs, testing the header (0x0A,0x00,0x00,0x00,0x00) and sending directly after hci_reset (0x01,0x03,0x0C,0x00) with HAL_SPI_TransmitReceive, I want to read the return value from ble.
So lowering the cs one more time, test header (0x0B,0x00,0x00,0x00,0x00) and sending dummies data with HAL_SPI_TransmitReceive. I obtain this frame : 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00.
But from what I have understood this far I should obtain something like :0x04,0x0E,0x04,0x01,0x03,0x0C,0x00.
Can someone point out where I am wrong ?