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
bleak isnot scanning the custom service and gives error when you try to read it .. it says Characteristic 9fb23f86-7f0a-11ee-b962-0242ac120002 was not found!
#1460
bleak version: 0.21.1
Python version:3.8.10
Operating System: windows
I am facing this problem of connecting to service . though it scan devices around you and make connection without any problem.. but when you try to scan services and characteristic it doesn't show .. though these services you can see on nrf app and it works there ... and when you give your uuid so you can read the specific characteristic from gatt it end up giving me error that no characteristic found
plus this is the code i am using
[Running] python -u "c:\python\new_fun.py"Traceback (most recent call last):File "c:\python\new_fun.py", line 13, inloop.run_until_complete(run(address))File "C:\Users\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_completereturn future.result()File "c:\python\new_fun.py", line 9, in runmodel_number = await client.read_gatt_char(MODEL_NBR_UUID)File "C:\Users\AppData\Local\Programs\Python\Python38\lib\site-packages\bleak_init_.py", line 711, in read_gatt_charreturn await self._backend.read_gatt_char(char_specifier, **kwargs)File "C:\Users\AppData\Local\Programs\Python\Python38\lib\site-packages\bleak\backends\winrt\client.py", line 823, in read_gatt_charraise BleakError(f"Characteristic {char_specifier} was not found!")bleak.exc.BleakError: Characteristic 9fb23f86-7f0a-11ee-b962-0242ac120002 was not found![Done] exited with code=1 in 8.454 seconds
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
bleak version: 0.21.1
Python version:3.8.10
Operating System: windows
I am facing this problem of connecting to service . though it scan devices around you and make connection without any problem.. but when you try to scan services and characteristic it doesn't show .. though these services you can see on nrf app and it works there ... and when you give your uuid so you can read the specific characteristic from gatt it end up giving me error that no characteristic found
plus this is the code i am using
though in nrf you can see the characteristic and can read the value as well
but in output i am getting this
run simple example as well
but still it keep saying
Beta Was this translation helpful? Give feedback.
All reactions