GATT CONN TERMINATE LOCAL HOST occurs when bonding with Android

Hello.

I am developing using nrf52832 (S132 v7.0.1, SDK v17.0.0).

Since I want to bond with Android, I have created a central code that summarizes the functions that I think are necessary by referring to various sample sources.
On Android, a pairing request is displayed, but when I press connect, it becomes GATT CONN TERMINATE LOCAL HOST and I cannot bond.
Does anyone know how to deal with it?

I can't use nRF Sniffer because I don't have two boards.

Best regards.

Parents
  • Hi

    Does this GATT CONN TERMINATE LOCAL HOST error come from the Android? What Android device is this you're trying to connect to, and are you using an Android app for BLE scanning and connecting (like nRFConnect) or are you using the standard settings/Bluetooth menu? 

    What example project have you based your nRF52832 application on here? Are you able to connect and bond with the Android device if you try using a default SDK example project? Please also note that If you are using v17.0.0 for development, it is strongly recommended to switch to v17.0.2. As it is a bug fix release to v17.0.0 which had some bug fixes properly handling errata.

    Best regards,

    Simon

Reply
  • Hi

    Does this GATT CONN TERMINATE LOCAL HOST error come from the Android? What Android device is this you're trying to connect to, and are you using an Android app for BLE scanning and connecting (like nRFConnect) or are you using the standard settings/Bluetooth menu? 

    What example project have you based your nRF52832 application on here? Are you able to connect and bond with the Android device if you try using a default SDK example project? Please also note that If you are using v17.0.0 for development, it is strongly recommended to switch to v17.0.2. As it is a bug fix release to v17.0.0 which had some bug fixes properly handling errata.

    Best regards,

    Simon

Children
  • Hello.

    Isn't GATT CONN TERMINATE LOCAL HOST from Android?
    The device used for connection is XPERIA SO-03J, and the application used is nRF Connect.
    The sample sources I referred to are "ble_app_blinky_c" and "ble_app_uart_c" of ble_central.
    Should I share the code I'm using? In that case, would you please make it a private ticket?

    It's difficult to change because we work with people other than me in software development.

    Best regards.

Related