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

how to get the advertised public IEEE address from the adv data?

I am working on my app and I need to combine the data from the main adv data event with the one from the scan response; in my setup one contains the full name of the device and the other the 128 bit service UUID. I assumed that there would be an address type record in there since I can see the public IEEE/MAC address when I am using the MCP. I only see the full name and the serice UUID event types coming back from the advertise data events. I need something to tie the two events together so I can combine the records and send them on to our UI processor. Is there a call to simply get the IEEE address of the sender of the packet? If not, then is there a guarantee that if the main record comes in and the next one is a scan_rsp then it has to be tied to the previous adv data event? I know that not all adv packets will trigger a scan.

Parents Reply Children
No Data
Related