Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unique identifier for peripheral BLE device

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?

like image 821
JInn Avatar asked Dec 30 '15 07:12

JInn


1 Answers

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.

like image 103
Anton Avatar answered Oct 21 '22 01:10

Anton