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

    Before we go to a code review and make this ticket private. Have you tried using I.E. the default ble_app_uart_c example project to connect to, and does that result in this local host termination as well?

    Since you're using the Android as a peripheral, how have you set up the advertiser in the nRFConnect app? What advertising data have you added and what services have you added in the Configure GATT server of nRFConnect. It's also worth tweaking the connection parameters and connection supervision timeout in your central applicaton.

    Best regards,

    Simon

Reply
  • Hi

    Before we go to a code review and make this ticket private. Have you tried using I.E. the default ble_app_uart_c example project to connect to, and does that result in this local host termination as well?

    Since you're using the Android as a peripheral, how have you set up the advertiser in the nRFConnect app? What advertising data have you added and what services have you added in the Configure GATT server of nRFConnect. It's also worth tweaking the connection parameters and connection supervision timeout in your central applicaton.

    Best regards,

    Simon

Children
Related