We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
很感谢您写的这个demo,对我工作中使用蓝牙帮助很大, 我在Ble 开发中有些问题网上很少有答案,比如蓝牙传输速率, 传输速率提高分两个方向: 1 Android 穿到 外围设备的速率,可以通过requestMtu,在 onMtuChanged 回调中获取申请了多少Mtu, 默认23, 减去1个op, 2个句柄,=20个字节(网上都说最多传20个字节...) 2 外为设备传给Android, 如果每次传20个字节,最少间隔7.5ms, 1.25ms一个步距(5个), 每个间隔时间最多传6个包, 120个字节. 因为外围设备(大多是单片机和蓝牙模块透传的) 写数据也有延迟,10字节/1ms, 最后是 没调成120字节/16ms,可以稳定传输20k数据.
The text was updated successfully, but these errors were encountered:
@xiaoyupizi 多谢补充!
Sorry, something went wrong.
No branches or pull requests
很感谢您写的这个demo,对我工作中使用蓝牙帮助很大,
我在Ble 开发中有些问题网上很少有答案,比如蓝牙传输速率,
传输速率提高分两个方向:
1 Android 穿到 外围设备的速率,可以通过requestMtu,在
onMtuChanged 回调中获取申请了多少Mtu, 默认23, 减去1个op, 2个句柄,=20个字节(网上都说最多传20个字节...)
2 外为设备传给Android, 如果每次传20个字节,最少间隔7.5ms, 1.25ms一个步距(5个),
每个间隔时间最多传6个包, 120个字节. 因为外围设备(大多是单片机和蓝牙模块透传的) 写数据也有延迟,10字节/1ms, 最后是 没调成120字节/16ms,可以稳定传输20k数据.
The text was updated successfully, but these errors were encountered: