Where is the HostTestApp source code for the TiWi-uB1?

The HostTestApp is an example included in the TI BLE Stack. It can be located at the link below. http://www.ti.com/tool/ble-stack Below is an app note that should help in the process as well. http://processors.wiki.ti.com/index.php/PTM_cc2640

Products