question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BleGattException status return 133

See original GitHub issue

When 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:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
uKLcommented, Aug 22, 2017

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

0reactions
dariuszseweryncommented, Sep 18, 2017

@evansherry the status=133 is a generic GATT_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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found