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

ble_app_hrs_rscs_relay disconnect issue

Hello i am using nrf52840 dk with sdk 13.0r3 software.

on first board, using example ble_app_hrs_rscs_relay example.

on second board, using example ble_app_hrs_peripheral

this is Output from ther ble_relay Terminal.first he connect and then he got some value then disconnect and connect again after that connection is stable. but why fist time he made disconnect.

APP:INFO:Connected to a previously bonded device.
APP:INFO:Central Connected 
APP:INFO:try to find HRS or RSC on conn_handle 0x1
APP:INFO:Connected to a previously bonded device.
APP:INFO:Central Connected 
APP:INFO:try to find HRS or RSC on conn_handle 0x1
nrf_ble_gatt:ERROR:sd_ble_gap_data_length_update() (reply) returned unexpected value 0x3002.
APP:INFO:HRS discovered on conn_handle 0x1
APP:INFO:Connection secured: role: 2, conn_handle: 0x1, procedure: 0.
APP:INFO:Heart Rate = 190
APP:INFO:Heart Rate = 200
APP:INFO:Heart Rate = 210
APP:INFO:Heart Rate = 220
APP:INFO:Heart Rate = 230
APP:INFO:HRS central disconnected (reason: 34)
APP:INFO:Connected to a previously bonded device.
APP:INFO:Central Connected 
APP:INFO:try to find HRS or RSC on conn_handle 0x1
APP:INFO:HRS discovered on conn_handle 0x1
APP:INFO:Heart Rate = 260
APP:INFO:Connection secured: role: 2, conn_handle: 0x1, procedure: 0.
APP:INFO:Heart Rate = 270
APP:INFO:Heart Rate = 280
APP:INFO:Heart Rate = 290

this is the output from the ble_app_hrs_peripheral.

APP:INFO:Heart Rate Sensor example started.
APP:INFO:Fast advertising.
APP:INFO:Connected to a previously bonded device.
APP:INFO:Connected.
APP:INFO:GATT ATT MTU on connection 0x0 changed to 23.
APP:INFO:Connection secured: role: 1, conn_handle: 0x0, procedure: 0.
APP:INFO:Disconnected, reason 34.
APP:INFO:Fast advertising.
APP:INFO:Connected to a previously bonded device.
APP:INFO:Connected.
APP:INFO:GATT ATT MTU on connection 0x0 changed to 23.
APP:INFO:Connection secured: role: 1, conn_handle: 0x0, procedure: 0.
Related