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

BTLE_CONNECTION_TIMEOUT when not in debug mode

Hi All,

I'm having a BTLE_CONNECTION_TIMEOUT when I connect the device in Master Control Panel 3.10.0.14 while the chip is not in debug mode.

The device connects without problem in debug mode when I connect my custom board with the nRF52 DK via debug out(P19).

I'm using S130 2.0.1 as a peripheral.

The firmware does not crashes even the Bluetooth time out.

Can any one provide any hints to the problem?

Here is my connection parameters, the slave latency was 0:

#define MIN_CONN_INTERVAL               MSEC_TO_UNITS(100, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL               MSEC_TO_UNITS(200, UNIT_1_25_MS)
#define SLAVE_LATENCY                   4
#define CONN_SUP_TIMEOUT                MSEC_TO_UNITS(4000, UNIT_10_MS)

Here is the log from Master Control Panel:

[11:07:19.0] GetDeviceInfo()
[11:07:19.2] ----------------------------
[11:07:19.2] Connected to device
[11:07:19.2] Role: 0
[11:07:19.2] PeerAddressType: 1
[11:07:19.2] PeerAddress (MSB): CA418CB05838
[11:07:19.2] Connection Interval: 20.0ms
[11:07:19.2] Connection Latency: 0
[11:07:19.2] Supervision Timeout: 3000ms
[11:07:19.2] Clock Accuracy: (1)
[11:07:19.2] ----------------------------
[11:07:19.2] Connected to address: CA418CB05838
[11:07:19.2] Starting a Read Information Request on the whole remote DB
[11:07:19.2] SERVER: Received packet <HciEvent: eventCode=0x05> - <HciEvent: eventCode=0x05>
[11:07:22.2] Lost connection to device. Reason: BTLE_CONNECTION_TIMEOUT
[11:07:22.3] SERVER: Received packet <HciEvent: eventCode=0x0A> - <HciEvent: eventCode=0x0A>
[11:07:22.3] SERVER: Received Link Loss
[11:07:22.3] Discovering all attribute UUIDs
[11:07:22.3] Lost connection before service discovery was complete
Related