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.

[参考译文] RTOS/CC2640R2F:使用 BLE5堆栈发送具体数量的广播帧

Guru**** 2589280 points
Other Parts Discussed in Thread: LAUNCHXL-CC2640R2

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/604553/rtos-cc2640r2f-send-a-concrete-number-of-advertisement-frames-with-ble5-stack

器件型号:CC2640R2F
主题中讨论的其他器件:LAUNCHXL-CC2640R2

工具/软件:TI-RTOS

您好!

使用带有简单广播设备应用程序的 LAUNCHXL-CC2640R2板和 ble5_simple_peripheral 项目、我希望仅发送具有不同 advertData 的 x 个帧数。

如果必须以1秒的间隔发送4个帧、我尝试了4秒的超时、将 GAPROLE_Adv_enabled 参数设置为 true、然后设置为 false、但这不起作用。

有人知道 BLE5堆栈提供的事件或函数、并在发送数据包时收到通知?

提前感谢。

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

    请参阅 SDK 中包含的 TI 供应商特定 HCI 指南中的"10.23 HCI 扩展广播器事件通知" API 部分。 这将允许您注册在 ADV 事件关闭后将事件发送到您的应用程序。

    祝你一切顺利