嗨,
我注意到每个连接事件不可能有多个ACI_GATT_WRITE_CHAR_VALUE。
我设置了以下连接:连接间隔为40ms,连接事件长度为21.875ms(我可以继续并行通告的最大值)。
使用嗅探工具,我看到发生的事情如下:
- 大师 - >奴隶:写请求
- 等待40ms(下一个连接间隔)
- 奴隶 - >主人:写回应
- 等待40ms(下一个连接间隔)
- 大师 - >奴隶:写请求
- 等
这是正常的行为吗?为什么不能在同一连接事件中包含Write响应,以及更多写请求?
请注意,如果我使用ACI_GATT_WRITE_WITHOUT_RESP(写入命令),我不会遇到问题,并且可以在同一个连接事件中发送多个(大约每700us)
谢谢你的帮助。
基督教
#bluenrg-MS
以上来自于谷歌翻译
以下为原文
Hi,
I have no
ticed that it is not possible to have multiple ACI_GATT_WRITE_CHAR_VALUE per connection event.
I have set up the following connection: connection interval of 40ms and connection event length of 21.875ms (the maximum I can while continuing to advertise in parallel).
Using a sniffing tool, I see that what is happening is the following:
- Master -> Slave : Write Request
- Wait for 40ms (next connection interval)
- Slave -> Master : Write Response
- Wait for 40ms (next connection interval)
- Master -> Slave : Write Request
- etc.
Is that a normal behavior? Why isn't it possible to have the Write response inside the same connection event, and more write reqests?
Note that if I use ACI_GATT_WRITE_WITHOUT_RESP (Write command), I don't face the issue, and it's possible to send multiple ones inside the same connection event (around every 700us)
Thanks for your help.
Christian
#bluenrg-ms