![](/img/trans.png)
[英]is there any limit, BLE peripheral devices for Services and their characteristic in iOS swift?
[英]Can we Change BLE MTU and characteristic sizes on iOS central and peripheral devices
我想要 MTU ATT 大小 247,但如果在我们的 BLE 硬件设备中将 MTU 大小设置为 24,则设备已连接,但如果我们将其更改为 247,则 iPhone 设备将不会与 BLE 硬件设备连接。 与 BLE 硬件设备连接的任何其他方式也是如此。
我的 iPhone 中的 maximumWriteValueLength 是 512
IOS 总是要求 MTU 为 185。因此,请确保您的外围设备接受这一点。
如果您想使用 maximumWriteValueLength() 进行检查,请确保您传递了 withoutResponse 类型。 否则,您总是得到 512,这是最大特征长度。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.