This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error8 (0x8) : GATT CONN TIMEOUT

Dear Sir,

I have implemented a program and tested it using BMD-300 Rigado DK.

The program will advertise continuously and I used nRFConnect to connect to the peripheral. And once the App is connected to the peripheral it will stay connected until we disconnect /restart the peripheral. This is the behaviour I expected and it is working perfectly fine with DK.

Now I have done a customboard with BMD-300 module and I was using the internal oscillator . For this I made the following changes.

                        In DK                                                                 On Custom board

---------------------------------------------------------------------------------------------------------

1)  #define CLOCK_CONFIG_LF_SRC 1    -------------  #define CLOCK_CONFIG_LF_SRC 0

2) #define NRF_SDH_CLOCK_LF_SRC 1 ----------------  #define NRF_SDH_CLOCK_LF_SRC 0

3) #define NRF_SDH_CLOCK_LF_RC_CTIV 0 --------#define NRF_SDH_CLOCK_LF_RC_CTIV 16

4) #define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 0----#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 4

Now custom board is advertising. And  I could connect to the custom board from the App. But the connection is disconnected after some time( which was expected to stay connected till we initaite disconnect from the App/ restrt the peripheral) with the following message ( showing  of the nRFConnect App in phone)

Error 8 (0x8):GATT CONN TIMEOUT.

Is there anything I did wrong or Am I missing something when we shift to custom board from DK?

Please hel me in resolving the same as I was struggling  for the same in the past 3-4 days.

Thanking you in advance.

with regards,

Geetha

  • Hello Edvin,

    We have an nRF52 DK system running ble_app_uart_c example code and communicating with a peripheral device.  We setup a second development system using another nRF52 DK system running the exact same code as the first system but after about 6 seconds after a connection we get a timeout error 0x08 and it disconnects.  

    I've tried changing the clock accuracy settings as you describe above but no effect. 

    <info> app: Connected to device with Nordic UART Service.
    <info> app: Disconnected.
    <info> app: Disconnected. conn_handle: 0x0, reason: 0x8
    <info> app: Connecting to target 520822071920
    <info> app: ATT MTU exchange completed.
    <info> app: Ble NUS max data length set to 0x14(20)
    <info> app: Discovery complete.
    <info> app: Connected to device with Nordic UART Service.
    <info> app: Disconnected.
    <info> app: Disconnected. conn_handle: 0x0, reason: 0x8
    <info> app: Connecting to target 520822071920
    <info> app: ATT MTU exchange completed.
    <info> app: Ble NUS max data length set to 0x14(20)
    <info> app: Discovery complete.
    <info> app: Connected to device with Nordic UART Service.
    <info> app: Disconnected.
    <info> app: Disconnected. conn_handle: 0x0, reason: 0x8
    

    You can see from the debug window that we are stuck in this loop.

    We are also running the exact same development configuration on both systems:

    SDK 15.3

    Segger SES V 4.10

    nRF DK PCA 10040

    Please advise.

  • Hello,

    Please create a new ticket, where you describe the issue and attach the sniffer trace (it may be useful for the engineer which the case will be assigned to). It is probably a request that isn't answered to from one of the devices. 

    Best regards,

    Edvin

Related