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
The exception is as follows: kotlin.IllegalArgumentException: Uuid string has invalid length: XXXXXXXX
Upon reviewing the code, I found that in the Uuid.kt file, it only supports strings of length 4 or 36. Shouldn't it also include 8 -> uuidFrom("$UUIDString-0000-1000-8000-00805F9B34FB")?
internal fun CBUUID.toUuid(): Uuid = when (UUIDString.length) {
4 -> uuidFrom("0000$UUIDString-0000-1000-8000-00805F9B34FB")
else -> uuidFrom(UUIDString)
}
The text was updated successfully, but these errors were encountered:
Hi, when I use
scanner.advertisements.filter
to scan Bluetooth on iOS, I encounter an exception.The exception is as follows:
kotlin.IllegalArgumentException: Uuid string has invalid length: XXXXXXXX
Upon reviewing the code, I found that in the
Uuid.kt
file, it only supports strings of length 4 or 36. Shouldn't it also include8 -> uuidFrom("$UUIDString-0000-1000-8000-00805F9B34FB")
?The text was updated successfully, but these errors were encountered: