BleGattException status return 133
See original GitHub issueWhen I connect ble after I try to open the notification, but often return BleGattException status = 133, sometimes it will sometimes not .
this is my code , i set it after 500 ms open notify:
mConnectingDevice.establishConnection(false)
.doOnNext(this::storeConnect)
.delay(500, TimeUnit.MILLISECONDS)
.flatMap(rxBleConnection -> rxBleConnection.setupNotification(notifyUuid))
.observeOn(AndroidSchedulers.mainThread())
.flatMap(notificationObservable -> notificationObservable)
.observeOn(AndroidSchedulers.mainThread())
.subscribe(this::onNotify, this::connectFail);
connectFail return BleGattException status = 133
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
BleGattException status return 133 · Issue #269 - GitHub
When I connect ble after I try to open the notification, but often return BleGattException status = 133, sometimes it will sometimes not...
Read more >BleGattException status return 133 (onClientConnectionState()
When I connect ble after I try to open the notification, but often return BleGattException status = 133, sometimes it will sometimes not...
Read more >RxBLELibraries/RxAndroidBle - Gitter
@dariuszseweryn I often get GATT 133 error when trying to connect to one device. Can you give me a way to solve this...
Read more >Service Discovery Failed - error status 133 - Bluetooth forum
When I successfully programmed it via CC debugger, i used free scanner on android app to scan for the device. It detected my...
Read more >com.polidea.rxandroidble2.exceptions ... - ProgramCreek.com
onGattConnectionStateException( new BleGattException(gatt, status, ... if (((BleDisconnectedException) throwable).state == 133) { if (I.retry133) { if ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey!
Thank you for contacting us. This seams to be a general question rather than an issue. Please ask on stackoverflow.com and add tag
rxandroidble
@evansherry the
status=133
is a genericGATT_ERROR
message. It is caused mostly by how the BLE stack works internally on your phone. The issue is most probably related to how your peripheral—phone pair works. If you would like to have more information you would need to get detailed HCI logs from a Xiaomi/Huawei device that shows the problem and another from a phone that works fine.