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.

HIDAdvRemoteDongle这个例程问题

Other Parts Discussed in Thread: CC2540

HIDAdvRemoteDongle 中把HAL_UART = TRUE之后就找不到hid_cdc.h头文件,添加进去后又出错了。

是不是不能使用串口?

  • 史蒂文,

    你说的是usb_cdc 吧。

    这是串口转USB 的时候用到的。你要实在想用,可以借鉴一下HostTestApp 里面的UART USB 代码,都是基于CC2540 dongle, 是一样的。

    HIDAdvRemoteDongle 是基于标准的HID USB 驱动的,并没有UART 的部分。