Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yuanhuang0 opened this issue May 10, 2020 · 0 comments
Open

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

yuanhuang0 opened this issue May 10, 2020 · 0 comments

Comments

@yuanhuang0
Copy link

yuanhuang0 commented May 10, 2020

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

@yuanhuang0 yuanhuang0 changed the title Why using BLE ManufacturerData with a manufacturer ID assigned to a private company? Why using a BLE manufacturer ID assigned to a private company? May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant