Disconnect after a few second

Hello!

I am using a nRF52840 board for some really simple development.
First I just tried to run the blinky example and connected with another BT device. It worked well but after a few seconds I just totally lost the connection and needed to connect again.
Do you know how can I solve it?

My main goal will be to create a simple GATT service with indicate, and notify flags and do some 1-2 hour term testing.
If somebody has any simple example code for this I would appreciate that.

Parents
  • Hi,

    but after a few seconds I just totally lost the connection and needed to connect again.

    Do you have the log output?

    My main goal will be to create a simple GATT service with indicate, and notify flags and do some 1-2 hour term testing.
    If somebody has any simple example code for this I would appreciate that.

    A good start would be to study the BLE HRS sample from the SDK which implements this,

    regards

    Jared 

  • Hi Jared,

    Instead of ble_app_blinky, I finally tried the ble_app_hrs code, because as far as I know, it already supports the pairing function.
    Here is the result:

    Unfortunately, it has been disconnected immediately.

    By the way, is there any other way to check the logs?
    I just used Putty here for UART logging.

    BR,
    Balint

Reply Children
No Data
Related