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

nRF Connect log

Hi,

I'm testing heart rate measurement example with my nRF52 DK. In the nRF connect application, I see the logs are converted from Hexadecimal value to user-readable values. I want to implement this in my own project with accelerometer values. In the accelerometer project, I only see values in hexadecimal. Thank you for your time and information. 

Parents Reply Children
  • Thank you for the reference. I have gone through most of the materials already. Like I said before, I have successfully created my own service and I can get data in nRF connect application. Now I'm trying to create central program for my service, so I can implement relay with my service. I took the heart rate measurement central program and did some modulations. When I try to connect my central and peripheral, I get the following in the RTT.

    <debug> nrf_sdh_ble: BLE event: 0x10.
    <debug> nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0.
    <debug> nrf_ble_gatt: Updating data length to 251 on connection 0x0.
    <info> app: Connected.
    <debug> nrf_ble_gq: Registering connection handle: 0x0000
    <debug> ble_db_disc: Starting discovery of service with UUID 0xABCD on connection handle 0x0.
    <debug> nrf_ble_gq: Adding item to the request queue
    <debug> nrf_ble_gq: GATTC Primary Services Discovery Request
    <error> nrf_ble_gq: SD GATT procedure (2) failed on connection handle 0 with error: 0x00000007.
    <debug> ble_bas_c: Battery Service discovery failure at peer.
    <debug> nrf_sdh_ble: BLE event: 0x3A.
    <debug> nrf_ble_gatt: ATT MTU updated to 23 bytes on connection 0x0 (response).
    <info> app: GATT ATT MTU on connection 0x0 changed to 23.
    <debug> nrf_ble_gq: Processing the request queue...
    <debug> nrf_sdh_ble: BLE event: 0x24.
    <debug> nrf_ble_gatt: Data length updated to 27 on connection 0x0.
    <debug> nrf_ble_gatt: max_rx_octets: 27
    <debug> nrf_ble_gatt: max_tx_octets: 27
    <debug> nrf_ble_gatt: max_rx_time: 2120
    <debug> nrf_ble_gatt: max_tx_time: 2120
    <info> app: Data length for connection 0x0 updated to 27.
    <debug> nrf_sdh_ble: BLE event: 0x1F.
    <debug> nrf_sdh_ble: BLE event: 0x12.

    "<error> nrf_ble_gq: SD GATT procedure (2) failed on connection handle 0 with error: 0x00000007." I don't understand this. What could be the problem. 

    On ble_app_hrs_c_pca I just changed the base, service and characteristic UUID from hrm to my own service.

Related