I want to use the USB stack provided with the CC2540 sample HostTestRelease without the HCI/serial parser from that project. I want to have other USB communication, not HCI.
The only issue which stops me doing this is the typedef void (*halUARTCBack_t) (uint8 port, uint8 event); function which is used in the HalUARTOpen/HalUARTOpenUSB config parameter (halUARTCBack_t callBackFunc;).
This is defined in TI's precompiled code (lib), there is no documentation about it (or at least I couldn't find any), I can only see from debugger that it's called from HCI_init function (no source provided, TI lib code).
Anyone managed to make it work, has a sample or at least has a description of the possible events from that callback?
It's really annoying to have the UART USB initialization mixed up in the precompiled BLE stack.
I understand that TI does not want to give source code for the BLE stack but also doesn't want to let us using the USB port as we want to? The USB stack is already written, I would prefer to not write a new one ...
B.