-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
[android] Feat: retry GATT_ERROR 133 on device.connectGatt fail #34697
[android] Feat: retry GATT_ERROR 133 on device.connectGatt fail #34697
Conversation
Changed Files
|
4f23b08
to
03bc07d
Compare
PR #34697: Size comparison from 5d280de to 03bc07d Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
I think the files below might need the same fixes. |
Probably the best solution is if chip-tool BluetoothManager will use whole connect pipeline. Not just some callbacks. But thats should be done in separate PR. |
Review please |
03bc07d
to
e730a88
Compare
PR #34697: Size comparison from 9946fc8 to e730a88 Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Review please. |
@bzbarsky-apple Hi, can you help with review of this PR? |
@j0tunn I can't review this; I know nothing about bluetooth on Android. I could rubber-stamp it without understanding it, but so can literally anyone else in the reviewers list, and most of them are carrying much lighter review loads than I am. |
1b57f24
to
788d064
Compare
PR #34697: Size comparison from a3140e2 to 788d064 Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
@andy31415 Thanks for review! |
No problem. Just didn't know how to push this PR, and you reviewed my other PR's, so I've decided to call you here. Sorry for bothering you. |
…ect-chip#34697) * feat: retry GATT_ERROR 133 on device.connectGatt fail * chore: add constant for error code 133
This PR fixes device commissioning fails on
device.connectGatt
fail with low levelGATT_ERROR(133)
:GATT_ERROR 133
is the generic error. It means "something went wrong, can't connect". In most cases solution is to close current gatt connection and try again.