I am writing a code which can show nearby friends whose bluetooth devices (phones) are switched on. My codes uses the devices addresses of the users to keep track of their presence but I need to know whether this figure is unique or not. If not how can I generate a unique id for each phone, let's say for example address + friendly name (which unfortunately is not unique).
Thanks