Hey guys,
So far I've been testing my BLE project by using Btool to control the USB dongle(loaded with CC2540_USB dongle_HostTestReleaseAll.hex). As I understand it, loading the USB dongle with the hostTestRelease file lets you control the dongle through a virtual COM port. So, I'd like to move away from Btool and write a labview vi to control it.
Before I do that though, I wanted to test it by trying to control it through a serial terminal program like tera term. So I open tera term and it recognizes the CC2540 as a COM port(COM port 3 on my PC). I setup the the serial port with the same parameters Btool uses. Now, I try to send it "01 00 FE 26 08 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00" which is the Gap_Device Init code that Btool first sends when you open it. But there is no response. Can anybody tell me why I'm not able to read anything back? Is it the string format? Do I need to send it an ASCII string? Will I need to include a new line terminate character?
I would really appreciate any help or suggestions.
regards,
V