Currently, the Adapter::address() function returns a MAC address with all 0s. This does not match peripheral addresses on MacOS (UUIDs), and it cannot be used e.g. to index adapters in a hash map. This commit gives adapters a UUID on MacOS and returns the UUID string in Adapter::address(). It also changes Adapter::identifier() to include the UUID string.
Currently, the Adapter::address() function returns a MAC address with all 0s. This does not match peripheral addresses on MacOS (UUIDs), and it cannot be used e.g. to index adapters in a hash map. This commit gives adapters a UUID on MacOS and returns the UUID string in Adapter::address(). It also changes Adapter::identifier() to include the UUID string.