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

read mac address from advertisement data

Hi I am developing an iOS app that needs to communicate to an nrf51822(working in ble peripheral mode). The peripheral to which the app connect is selected using mac address of peripherals.

my question is ,how will i get mac address of nrf51822 peripheral in iOS app?

Thanks Pramith

Parents
  • The address of the advertiser is a part of the payload from the advertiser. You can in addition add some application specific data in the payload to identify the advertisers you want your app to connect to. In iOS the different peripherals are identified to the app with an UUID and the address itself might be hidden from the developer. So the manufacture specific data would be a better way for your app to identify your peripherals.

Reply
  • The address of the advertiser is a part of the payload from the advertiser. You can in addition add some application specific data in the payload to identify the advertisers you want your app to connect to. In iOS the different peripherals are identified to the app with an UUID and the address itself might be hidden from the developer. So the manufacture specific data would be a better way for your app to identify your peripherals.

Children
No Data
Related