This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc2540的hosttest例子的疑问?

Other Parts Discussed in Thread: CC2540

TI大师们:

最近在用CC2540板子研究BLE4.0 ,学习例子HostTest ;发现代码有几个问题,不知道理解有没有问题,请教一下

1、没有配置串口的动作,NPI_InitTransport的调用(不确定是否在库内实现了),即无法确定用的是uart0还是uart1;若需要修改串口,该怎样做?

2、TI的hci_vendor定义的命令是怎样过来,我只看到处理msg的函数processExtMsg?

3、hci_vendor定义的命令库里是否有处理的,还是全部都丢到函数processExtMsg来处理?

4、问题3的扩展:与btool的通信,我在应用代码是否就可以直通(配置串口收发数据)不需要经过库中转数据实现hci_vendor命令解析和发送?

这样我是否可以增加自定义的hci命令来控制。

我看的是BLE-CC254x-1.3.2的代码版本

学习中,判解答

谢谢了!!