So I have peripheral BLE
device and I need some identifier for it to later share with another iPhone. Example I connect with iPhone
'A' to peripheral. iPhone
'A' saves peripheral's identifier to database and later I easily can take iPhone
'B' and connect to the peripheral found by this identifier.
Now there is UUID
what changes for every iPhone-peripheral
connection, but MAC
Address
is not available. What could you suggest?
If you do not manufacture the peripheral yourself then you can not uniquely identify peripherals across different iOS devices. This is exactly how Apple wants it to be since it means that developers can't track user's locations or movement patterns based on device addresses. It would be a privacy concern.
If you manufacture the peripheral yourself then you can do pretty much whatever you want. For example: Use a custom Service uuid, add uuid to manufacturer data in advertisement, set unique advertisement names, etc etc.. But if the core purpose of all this is to track your user then I would guess that Apple might deny your submission.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With