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

Heart rate collector on nrf52832 / SDK12

Hello,

I get an error fatal when running Heart rate collector example from SDK12 on PCA10040 development board.

The sensor use example from SDK15 on a nRF52840-DK.

Some logs from collector SDK12 :

00> APP:INFO:Heart rate collector example.
00> APP:INFO:Starting scan.
00> APP:INFO:UUID match send connect_request.
00> BLE_GATT:INFO:request ATT MTU 158 for conn_handle 0 
00> APP:INFO:Connected.
00> BLE_DB_DISC:INFO:Starting discovery of service with UUID 0x180d for Connection handle 0
00> APP:INFO:ble_db_discovery_start() returned busy, will retry later.
00> BLE_GATT:INFO:EXCHANGE_MTU_REQUEST effective ATT MTU is 158 for conn_handle 0 
00> APP:INFO:GATT MTU on link 0 changed to 158
00> APP:INFO:GATT MTU on link 0 changed to 158
00> APP:INFO:Disconnected, reason 0x8.
00> APP_ERROR:ERROR:Fatal
00> APP:INFO:Heart rate collector example.
00> APP:INFO:Starting scan.
00> APP:INFO:UUID match send connect_request.
00> BLE_GATT:INFO:request ATT MTU 158 for conn_handle 0 
00> APP:INFO:Connected.
00> BLE_DB_DISC:INFO:Starting discovery of service with UUID 0x180d for Connection handle 0
00> APP:INFO:ble_db_discovery_start() returned busy, will retry later.
00> BLE_GATT:INFO:EXCHANGE_MTU_REQUEST effective ATT MTU is 158 for conn_handle 0 
00> APP:INFO:GATT MTU on link 0 changed to 158
00> BLE_DB_DISC:INFO:Starting discovery of service with UUID 0x180d for Connection handle 0
00> BLE_GATT:INFO:EXCHANGE_MTU_RSP effective ATT MTU is 158 for conn_handle 0 
00> APP:INFO:GATT MTU on link 0 changed to 158
00> BLE_DB_DISC:INFO:Starting discovery of service with UUID 0x180d for Connection handle 0
00> BLE_DB_DISC:INFO:Found service UUID 0x180d
00> BLE_DB_DISC:INFO:Discovery of service with UUID 0x180d completed with success for Connection handle 0
00> BLE_DB_DISC:INFO:Starting discovery of service with UUID 0x180f for Connection handle 0
00> BLE_DB_DISC:INFO:Found service UUID 0x180f
00> BLE_DB_DISC:INFO:Discovery of service with UUID 0x180f completed with success for Connection handle 0
00> BLE_HRS_C:INFO:Heart Rate Service discovered at peer.
00> BLE_HRS_C:INFO:Configuring CCCD. CCCD Handle = 17, Connection Handle = 0
00> BLE_HRS_C:INFO:SD Read/Write API returns Success..
00> APP:INFO:Battery Level Read as 82 %.
00> APP:INFO:Battery Level received 83 %.
00> APP:INFO:Disconnected, reason 0x8.
00> APP_ERROR:ERROR:Fatal
00> APP:INFO:Heart rate collector example.
00> APP:INFO:Starting scan.
00> APP:INFO:UUID match send connect_request.
00> BLE_GATT:INFO:request ATT MTU 158 for conn_handle 0 
00> APP:INFO:Connected.
00> BLE_DB_DISC:INFO:Starting discovery of service with UUID 0x180d for Connection handle 0
00> APP:INFO:ble_db_discovery_start() returned busy, will retry later.
00> BLE_GATT:INFO:EXCHANGE_MTU_REQUEST effective ATT MTU is 158 for conn_handle 0 
00> APP:INFO:GATT MTU on link 0 changed to 158
00> APP:INFO:GATT MTU on link 0 changed to 158
00> APP:INFO:Disconnected, reason 0x8.
00> APP_ERROR:ERROR:Fatal

Some logs from sensor SDK15 :

00> <info> app: Heart Rate Sensor example started.
00> <info> app: Fast advertising.
00> <info> app: Connected.
00> <info> app: GATT ATT MTU on connection 0x0 changed to 158.
00> <info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 133
00> <info> app: BLE_GAP_EVT_AUTH_STATUS: status=0x85 bond=0x0 lv4: 0 kdist_own:0x0 kdist_peer:0x0
00> <info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 137
00> <info> app: BLE_GAP_EVT_AUTH_STATUS: status=0x89 bond=0x0 lv4: 0 kdist_own:0x0 kdist_peer:0x0
00> <info> app: Fast advertising.
00> <info> app: Disconnected, reason 8.
00> <info> app: Connected.
00> <info> app: GATT ATT MTU on connection 0x0 changed to 158.
00> <info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 133
00> <info> app: BLE_GAP_EVT_AUTH_STATUS: status=0x85 bond=0x0 lv4: 0 kdist_own:0x0 kdist_peer:0x0
00> <info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 137
00> <info> app: BLE_GAP_EVT_AUTH_STATUS: status=0x89 bond=0x0 lv4: 0 kdist_own:0x0 kdist_peer:0x0
00> <info> app: Fast advertising.
00> <info> app: Disconnected, reason 8.
00> <info> app: Connected.
00> <info> app: GATT ATT MTU on connection 0x0 changed to 158.
00> <info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 133
00> <info> app: BLE_GAP_EVT_AUTH_STATUS: status=0x85 bond=0x0 lv4: 0 kdist_own:0x0 kdist_peer:0x0
00> <info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 137
00> <info> app: BLE_GAP_EVT_AUTH_STATUS: status=0x89 bond=0x0 lv4: 0 kdist_own:0x0 kdist_peer:0x0
00> <info> app: Fast advertising.
00> <info> app: Disconnected, reason 8.
00> <info> app: BLE_ADV_EVT_IDLE

 Receiving heart rate works in nRF Toolbox or if I load the collector example from SDK15.

Have you got an idea of the problem ? How to investigate the fatal error ? Thanks

Parents Reply Children
No Data
Related