docs: better explanation of peripheral UUID on macOS

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2020-09-02 08:34:58 +02:00 committed by Ron Evans
parent 8bb26c24e6
commit d570aa58a6

View file

@ -99,7 +99,8 @@ func makeScanResult(prph cbgo.Peripheral, advFields cbgo.AdvFields, rssi int) Sc
serviceUUIDs = append(serviceUUIDs, parsedUUID)
}
// It is never a random address on macOS.
// Peripheral UUID is randomized on macOS, which means to
// different centrals it will appear to have a different UUID.
return ScanResult{
RSSI: int16(rssi),
Address: Address{