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

unable to connect nrf52832 dk as central to peripheral device(sensortile)

i am trying to connect nordic nrf52832 dk as a central to my custom peripheral(sensor tile) .peripheral is advertising different services and uuid of the one of service is (00000000-000f-11e1=9ab4-002a5d5c51b).i have run uart_central example from sdk 15 on nrf52832 dk.as nordic scan for its own vendor specfic uuuid.i have also changed the nordic base uuid with peripheral uuid(00000000-000f-11e1=9ab4-002a5d5c51b).still i am unable to connect.i

Parents
  • Hi,

    It may have something do to with endianness of the UUID, maybe you can set a breakpoint in adv_uuid_compare() in nrf_ble_scan.c to find the cause. This function is called in nrf_ble_scan_on_adv_report() when there is an BLE_GAP_EVT_ADV_REPORT event from the softdevice. The actual UUID to filter for is set in scan_init() in the ble_app_uart_c example project.

    Best regards,
    Kenneth

Reply
  • Hi,

    It may have something do to with endianness of the UUID, maybe you can set a breakpoint in adv_uuid_compare() in nrf_ble_scan.c to find the cause. This function is called in nrf_ble_scan_on_adv_report() when there is an BLE_GAP_EVT_ADV_REPORT event from the softdevice. The actual UUID to filter for is set in scan_init() in the ble_app_uart_c example project.

    Best regards,
    Kenneth

Children
Related