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. Hung Bui. Thank you very much for your help. Your reply is perfect. That's what i really wanted. I already read a lot of documents here about 133 error, but there was not a perfect answer to me as you know. Now I read your link, I think i have a good point to debug. I'll add some delay as your recommendation. And i'll try to run github.com/.../pc-nrfconnect-ble app. Thank you very much again.

Reply
  • Hi. Hung Bui. Thank you very much for your help. Your reply is perfect. That's what i really wanted. I already read a lot of documents here about 133 error, but there was not a perfect answer to me as you know. Now I read your link, I think i have a good point to debug. I'll add some delay as your recommendation. And i'll try to run github.com/.../pc-nrfconnect-ble app. Thank you very much again.

Children
No Data
Related