opentrace-community / opentrace-android

OpenTrace Android app. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
577 stars 225 forks source link

Why using a BLE manufacturer ID assigned to a private company? #43

Open yuanhuang0 opened 4 years ago

yuanhuang0 commented 4 years ago

In io.bluetrace.opentrace.bluetooth.BLEAdvertiser.kt, the following code builds the AdvertiseData which a manufacturer ID = 1023 and 3 bytes of random manufacturer specific data.

val randomUUID = UUID.randomUUID().toString() val finalString = randomUUID.substring(randomUUID.length - charLength, randomUUID.length) CentralLog.d(TAG, "Unique string: $finalString") val serviceDataByteArray = finalString.toByteArray()

data = AdvertiseData.Builder() .setIncludeDeviceName(false) .setIncludeTxPowerLevel(true) .addServiceUuid(pUuid) .addManufacturerData(1023, serviceDataByteArray) .build()

The Manufacturer ID 1023 seems to be assigned to a company called Withings (www.withings.com), according to https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/

Would this cause any legal issue with Withings?

Thanks, Yuan Huang

@slxe6