quick_blue
quick_blue copied to clipboard
MTU change
is there a way to change MTU value and priority to increase data rate (Bluetooth 5)?
Which platform do you infer?
Android has requestConnectionPriority(int)
I haven't finished refactor from notepad_core
to quick_blue
https://github.com/woodemi/notepad_core/blob/b0e329f3d6e02f14f8a0e5e48a6ddb48e026b658/notepad_core/android/src/main/kotlin/io/woodemi/notepad_core/NotepadCorePlugin.kt#L128-L136
"requestConnectionPriority" -> {
val bleConnectionPriority = call.argument<String>("bleConnectionPriority")!!
connectGatt?.requestConnectionPriority(when (bleConnectionPriority) {
"high" -> BluetoothGatt.CONNECTION_PRIORITY_HIGH
"lowPower" -> BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER
else -> BluetoothGatt.CONNECTION_PRIORITY_BALANCED
})
result.success(null)
}
Android is my priority, iOs the second. Is 2M Phy channel configurable too?
Thanks
2M Phy channel
Any doc or testable device?
2MPhy is for increasing bluetooth data rate in Bluetooth 5. Here is how to do it in android: https://source.android.com/devices/bluetooth/ble_advertising
So we could use an Android 8+ device as peripheral to test 2MPhy
?
Hi, sorry for my delay. You can configure an Arduino with BLE in order to work onto 2M phy and test the library.
On 18 marzo 2022 a 16:50:53, Sunbreak @.@.>) scritto:
So we could use an Android 8+ device as peripheral to test 2MPhy?
— Reply to this email directly, view it on GitHubhttps://github.com/woodemi/quick_blue/issues/62#issuecomment-1072540906, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEHREYUKX6OTNUTAZEMYU5DVASQ5VANCNFSM5RBXQZHA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>
Hi, sorry for my delay. You can configure an Arduino with BLE in order to work onto 2M phy and test the library.
Sorry. I don't have an Arduino nor Raspberry Pi right now