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:示例"HIDAdvRemoteDongle"问题

Guru**** 2595805 points
Other Parts Discussed in Thread: CC2540

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/610374/cc2540-problem-with-example-hidadvremotedongle

器件型号:CC2540

您好!
我使用 CC2540 USB 评估套件、无需密钥卡。 我已按 以下方式修改了"HIDAdvRemoteDongle"示例:
从计时器事件处理程序中,我通过调用 hidSendHidInReport()将自己的报告写入 USB endpoint1缓冲区。
Windows PC 上的设备管理器将我的设备显示为正确的 HID。 PC 上的我的测试软件也会重新对其进行注册。 但是、当我尝试从设备获取报告时、会发生超时。
为什么不能通过 USB 将数据发送到 PC? 是否缺少 USB 硬件的初始化?
请帮助。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 Stephen、

    您的描述中不清楚做出了哪些更改。 我建议您使用 CC 调试器的 HIDAdvRemoteDongle 示例应用中的示例来了解 USB 代码流。 在调试过程中使用 USB 协议分析器也会很有用。

    祝你一切顺利