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:BLE 广播间隔和连接间隔

Guru**** 2553450 points
Other Parts Discussed in Thread: CC2640R2F

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/606281/cc2540-ble-advertisement-interval-and-connected-interval

器件型号:CC2540
主题中讨论的其他器件:CC2640R2F

您好!

我目前正在测试"Keyfob Demo"和"SimpleBLEPeripheral"项目事件间隔。

如以下打印屏幕所示:

在广播过程中、对于"密钥卡演示"和"SimpleBLEPeripheral"项目、每个事件大约每~100ms 发生一次。

但是、一旦它们连接到 IOS 应用程序(LightBlue)、它们的事件间隔将更改为~25ms。

----------------------------------------------------------------------

我的问题是:

问题1. 我想知道在代码中(对于两个项目)、广播间隔为100ms、连接间隔后为25ms、它在哪里定义?

问题2. 对于广播和连接事件间隔之后、它是否必须始终为4:1类型的比率?

非常感谢。

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

    我建议查看扫描和广播以及 Connexions SimpleLink Academy 实验。 尽管这些适用于 CC2640R2F、但相同的概念也适用于 CC254x BLE 器件。

    dev.ti.com/.../

    祝你一切顺利