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
  • Roger, you need to learn how to use BLE sniffer/radio analyzer and how to read the logs. This is typical example of situation which can be debugged indirectly by spending days and weeks by looking into traces from blackbox like Android phone or you can understand to what is happening in few hours after making few radio logs.

    But I guess I'm not the first one on this forum who suggests this way to you...

Reply
  • Roger, you need to learn how to use BLE sniffer/radio analyzer and how to read the logs. This is typical example of situation which can be debugged indirectly by spending days and weeks by looking into traces from blackbox like Android phone or you can understand to what is happening in few hours after making few radio logs.

    But I guess I'm not the first one on this forum who suggests this way to you...

Children
No Data
Related