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

How to get Peripheral service 128 bit UUID before connection???

Hi i am using nrf52832 development board as central which scans for peripheral devices.

how to get peripheral device service UUID(128 bit) completely before connection?

is it possible to get uuid either using Advertisement packet or scan response packet ?

Thanks,

Rekha

Parents Reply
  • I think my requirement is not clear. I have central device which scan for peripherals .

    in the ble_evt_handler BLE_GAP_EVT_ADV_REPORT: this case gives advertising report, BLE_GAP_EVT_SCAN_REQ_REPORT this case gives scan responses from peripherals.

    how do i extract uuid from that scan response or advertising packet is my question. which structure variable should be accessed to get uuid of peripheral services.

    Thanks

    Rekha

Children
Related