I have set the advdata.include_ble_device_address = true in advertising_init function. However, the mac address data is not shown in mobile APP.
Is it due to the fact that I have already include some data in advdata.manu_specific_data?
I have set the advdata.include_ble_device_address = true in advertising_init function. However, the mac address data is not shown in mobile APP.
Is it due to the fact that I have already include some data in advdata.manu_specific_data?
I am using IOS LightBlue and nRF Connect. Both app can not show mac address
iOS does not allow Apps to see the Mac address of a BLE device. iOS uses its own UUID system to identify each device, but this UUID is not unique across different iOS device.
e.g. if you run the same iOS on 2 identical iPhones, the UUID value for the same BLE device will be different on those 2 identical iPhones
If you be able to retrieve the Mac address from within an iOS app, you would need to copy the Mac address to the Manufacturer data, and add that to the advertising data.
In which case you may as well have your own serial number or UUID instead of Mac address to identify each device uniquely. Each nRF5x device has an internal 48 bit serial number you can use for this purpose (I don't know if its totally guaranteed to be unique, but I don't think Mac addresses are guaranteed to be unique either)