When Connecting device using NRF52840 as Center, Always Disconnect Automatically after Discovery of Service

I am working on a project, using nrf52840 as a BLE Center to connect to BLE HID devices, but every time the connection is automatically disconnected when the service is discovered, this is the log,

<info> app: Found Device:0A:EC:FD:25:EE:B4

<info> app: pid=1

<info> app: Connection 0x0 established, starting DB discovery.

<info> app: assign

<debug> nrf_ble_gq: Purging request queue with id: 0

<debug> nrf_ble_gq: Registering connection handle: 0x0000

<debug> ble_db_disc: Starting discovery of service with UUID 0x1812 on connection handle 0x0.

<debug> nrf_ble_gq: Adding item to the request queue

<debug> nrf_ble_gq: GATTC Primary Services Discovery Request

<debug> nrf_ble_gq: SD GATT procedure (2) succeeded on connection handle: 0.

<debug> ble_scan: Scanning

<info> app: rescan

<debug> ble_scan: Scanning

does anyone know the reason?

Related