You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: