app_timer: RTC: initialized. nrf_ble_lesc: Initialized nrf_crypto. nrf_ble_lesc: Initialized nrf_ble_lesc. nrf_ble_lesc: Generating ECC key pair app: Debug logging for UART over RTT started. app: Fast advertising nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0. nrf_ble_gatt: Updating data length to 251 on connection 0x0. app: --> pm_evt_handler 1 app: --> PM_EVT_CONN_SEC_PARAMS_REQ app: Connected nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response). app: Data len is set to 0xF4(244) app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 nrf_ble_gatt: Data length updated to 251 on connection 0x0. nrf_ble_gatt: max_rx_octets: 251 nrf_ble_gatt: max_tx_octets: 251 nrf_ble_gatt: max_rx_time: 2120 nrf_ble_gatt: max_tx_time: 2120 app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 app: --> pm_evt_handler 2 app: --> PM_EVT_CONN_SEC_PARAMS_REQ app: Passkey: 121224 nrf_ble_lesc: BLE_GAP_EVT_LESC_DHKEY_REQUEST app: BLE_GAP_EVT_LESC_DHKEY_REQUEST nrf_ble_lesc: Calling sd_ble_gap_lesc_dhkey_reply on conn_handle: 0 peer_manager_handler: Connection secured: role: Peripheral, conn_handle: 0, procedure: Bonding app: --> PM_EVT_CONN_SEC_SUCCEEDED app: Link secured. Role: 1. conn_handle: 0, Procedure: 1 nrf_ble_lesc: Generating ECC key pair app: BLE_GAP_EVT_AUTH_STATUS: status=0x0 bond=0x1 lv4: 1 kdist_own:0x3 kdist_peer:0x2 peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Bonding data, action: Update app: --> pm_evt_handler 9 (9 is PM_EVT_PEER_DELETE_SUCCEEDED) app: Fast advertising app: Disconnected nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0. nrf_ble_gatt: Updating data length to 251 on connection 0x0. app: --> pm_evt_handler 1 app: --> PM_EVT_CONN_SEC_PARAMS_REQ peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change app: --> pm_evt_handler 9 app: --> pm_evt_handler 0 app: --> pm_evt_handler 15 (15 is PM_EVT_SERVICE_CHANGED_IND_SENT documentation states that a PM_EVT_SERVICE_CHANGED_IND_CONFIRMED (16) should occur. It doesn't) app: --> PM_EVT_CONN_SEC_PARAMS_REQ nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response). app: Data len is set to 0xF4(244) app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 nrf_ble_gatt: Data length updated to 251 on connection 0x0. nrf_ble_gatt: max_rx_octets: 251 nrf_ble_gatt: max_tx_octets: 251 nrf_ble_gatt: max_rx_time: 2120 nrf_ble_gatt: max_tx_time: 2120 app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 app: --> pm_evt_handler 2 peer_manager_handler: Connection secured: role: Peripheral, conn_handle: 0, procedure: Encryption peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change app: --> pm_evt_handler 9 app: --> PM_EVT_CONN_SEC_SUCCEEDED app: Link secured. Role: 1. conn_handle: 0, Procedure: 0 nrf_ble_gatt: Peer on connection 0x0 requested an ATT MTU of 517 bytes. nrf_ble_gatt: Updating ATT MTU to 247 bytes (desired: 247) on connection 0x0. app: Data len is set to 0xF4(244) app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Local database, action: Update app: --> pm_evt_handler 9 app: Received data from BLE NUS. Writing data on UART. app: 64 64 67 68 20 66 67 67|ddgh fgg app: 67 |g app: Fast advertising app: Disconnected nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0. nrf_ble_gatt: Updating data length to 251 on connection 0x0. app: --> pm_evt_handler 1 app: --> PM_EVT_CONN_SEC_PARAMS_REQ peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change app: --> pm_evt_handler 9 app: --> pm_evt_handler 0 app: --> pm_evt_handler 15 app: --> PM_EVT_CONN_SEC_PARAMS_REQ nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response). app: Data len is set to 0xF4(244) app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 nrf_ble_gatt: Data length updated to 251 on connection 0x0. nrf_ble_gatt: max_rx_octets: 251 nrf_ble_gatt: max_tx_octets: 251 nrf_ble_gatt: max_rx_time: 2120 nrf_ble_gatt: max_tx_time: 2120 app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 app: --> pm_evt_handler 2 peer_manager_handler: Connection secured: role: Peripheral, conn_handle: 0, procedure: Encryption peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change app: --> pm_evt_handler 9 app: --> PM_EVT_CONN_SEC_SUCCEEDED app: Link secured. Role: 1. conn_handle: 0, Procedure: 0 nrf_ble_gatt: Peer on connection 0x0 requested an ATT MTU of 517 bytes. nrf_ble_gatt: Updating ATT MTU to 247 bytes (desired: 247) on connection 0x0. app: Data len is set to 0xF4(244) app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 app: Fast advertising app: Disconnected nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0. nrf_ble_gatt: Updating data length to 251 on connection 0x0. app: --> pm_evt_handler 1 app: --> PM_EVT_CONN_SEC_PARAMS_REQ peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change app: --> pm_evt_handler 9 app: --> pm_evt_handler 0 app: --> pm_evt_handler 15 app: --> PM_EVT_CONN_SEC_PARAMS_REQ nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response). app: Data len is set to 0xF4(244) app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 nrf_ble_gatt: Data length updated to 251 on connection 0x0. nrf_ble_gatt: max_rx_octets: 251 nrf_ble_gatt: max_tx_octets: 251 nrf_ble_gatt: max_rx_time: 2120 nrf_ble_gatt: max_tx_time: 2120 app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7 app: --> pm_evt_handler 2 app: --> PM_EVT_CONN_SEC_PARAMS_REQ app: --> pm_evt_handler 5 peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 133 peer_manager_handler: Disconnecting conn_handle 0. nrf_ble_lesc: Generating ECC key pair app: BLE_GAP_EVT_AUTH_STATUS: status=0x85 bond=0x0 lv4: 0 kdist_own:0x0 kdist_peer:0x0 app: Fast advertising app: Disconnected