Skip to content

Commit

Permalink
fix 'Descriptor None was not found!'
Browse files Browse the repository at this point in the history
  • Loading branch information
vabt-igd committed May 23, 2024
1 parent be75a19 commit 254167d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bleak/backends/p4android/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from jnius import autoclass, cast

import bleak.exc
from bleak.uuids import normalize_uuid_16, uuidstr_to_str
from bleak.uuids import normalize_uuid_16

# caching constants avoids unnecessary extra use of the jni-python interface, which can be slow

Expand Down Expand Up @@ -88,4 +88,4 @@ class ScanFailed(enum.IntEnum):
BluetoothGattCharacteristic.PROPERTY_WRITE_NO_RESPONSE: "write-without-response",
}

CLIENT_CHARACTERISTIC_CONFIGURATION_UUID = uuidstr_to_str(normalize_uuid_16(0x2902))
CLIENT_CHARACTERISTIC_CONFIGURATION_UUID = normalize_uuid_16(0x2902)

0 comments on commit 254167d

Please sign in to comment.