This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to check connection fail?

Hi, I'm using nRF52832, SDK13.0.0 as peripheral.

My iPhone app(my company's) makes connection without problem. But Android app gets connection fail when it tries to connect.

Android callback function is onConnectionStateChange(BluetoothGatt gatt, int status, int newState) callback value of status = 133 (Not success, GATT_ERROR)

I think it's not nordic's problem but i want to know debugging point.

Is there any chance of getting event regarding connection before "BLE_GAP_EVT_CONNECTED" event? Or do you have good experience in this case for Android?

I need your help.

Parents
  • Hi Roger, could you provide some more information about your Android device ? We have seen error 133 quite often in the past but didn't have a clear explanation why it happens. You can try to add some delay before you do anything after connection established. As you can read about it here and here.

    Also, please try using the nRFConnect app for testing.

Reply
  • Hi Roger, could you provide some more information about your Android device ? We have seen error 133 quite often in the past but didn't have a clear explanation why it happens. You can try to add some delay before you do anything after connection established. As you can read about it here and here.

    Also, please try using the nRFConnect app for testing.

Children
No Data
Related