[英]iOS Bluetooth BLE read data maximum size
I have an iOS app that reads/writes on a BLE device. 我有一个可在BLE设备上读取/写入的iOS应用。 The device is sending me data over 20 bytes long and I see they get trimmed. 设备正在向我发送超过20个字节的数据,我看到它们被修整了。 Based on the following thread 基于以下线程
Bluetooth LE maximum transmission size 蓝牙LE最大传输大小
it looks like iOS is trimming the data. 好像iOS正在修剪数据。 That thread shows the solution on how to write bigger data sizes, but how do we read
info larger than 20 bytes? 该线程显示了有关如何写入更大数据大小的解决方案,但是我们如何read
大于20个字节的信息?
For anyone looking at this post years later like I am, we ran into this question as well at one point. 对于像我一样在几年后看这个帖子的任何人,我们也同时遇到了这个问题。 I would like to share some helpful hints for data larger than 20 bytes. 我想分享一些大于20个字节的数据的有用提示。
Hope this helps! 希望这可以帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.