I have seen following link
http://processors.wiki.ti.com/index.php/CC254X_WITH_EXT_MCU
It seems like "Network Processor" is what I want. I know I can use BTool on PC to interface with HostTestApp running on CC2540.
In "TI_BLE_Software_Developer's_Guide.pdf", they says:"NPI – Network processor interface, a transport layer that allows you to route HCI data to a serial
interface. CC254X_BLE_HCI_TL_Full.lib must be included for this capability (see the HostTest project)".
I need sample code in C to show how to use "CC254X_BLE_HCI_TL_Full.lib", Where is the header files? Thanks for any help!