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.

[参考译文] 帮助!! 我每50ms 对每个连接(绑定的器件)和 I2C 事件进行一次加密。 在连接设置中,一些 i2c 数据丢失!!!

Guru**** 2563960 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/568602/help-i-have-encryption-done-each-connection-bonded-devices-and-i2c-event-every-50ms-in-connexion-establishement-some-i2c-data-are-lost

系统是从永久接收器向主器件发送推送完成。 主器件每50ms 运行一个 i2c 外设(i2c 从器件)。  外设在建立连接后立即发送它们、我有许多数据丢失(虽然通过通知接收数据、但未通过 i2c 到达)  

数据在建立连接时丢失。 I2C 数据连接完成后工作良好...我取消绑定 和配对(因此在每个连接建立时都不进行启动加密) 问题不再持续!!!

我还尝试了另一种解决方案、即发送前3个通知通知通知、在其余通知之间延迟400ms、间隔100ms、这种情况在加密情况下是正常的。

有什么想法 吗?