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.

[参考译文] CC2650:如何发送每个32位长度的5000数据?

Guru**** 2563930 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1034481/cc2650-how-to-send-5000-data-which-is-32-bit-length-each

器件型号:CC2650

您好!

我们需要通过 BLE 传输5000个数据样本?

MTU 大小已更改为255 (最大值)。

传输32位5000个数据样本大约需要3分钟。

如何加速上述传输?

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

    您好、Remukee、

    是否已确保启用 LE 数据长度扩展? 请参阅《软件开发人员指南》的第5.6节(位于 SDK 的 docs 文件夹中)。

    此外、还有许多方法可以提高吞吐量。 您可以在需要传输数据时临时增加连接间隔、增大 MTU 大小(同时确保调整 MAX_NUM_PDU、以便每个连接事件发送1个以上的数据包)、并确保启用了 DLE (请参阅上面的注释)。

    我还建议您访问我们的吞吐量示例,这些示例展示了如何发送大量数据: https://github.com/ti-simplelink/ble_examples/tree/ble_examples-2.2/examples/cc2650lp/throughput_example_central 。 (还要确保查看 through_example_peripheral)。

    希望这对您有所帮助。