David Lechner
David Lechner
Closing in favor of https://github.com/hbldh/bleak/pull/1100
contents of main.zip: ```python import asyncio import logging import platform import sys import threading import time from bleak import BleakClient from bleak import BleakClient from bleak import BleakScanner from bleak...
> Enter an option: Failed to read characteristic 18: Error Domain=CBATTErrorDomain Code=2 "Reading is not permitted." UserInfo={NSLocalizedDescription=Reading is not permitted.} q This is an error that comes from the OS....
Have you tried the troubleshooting recommendations in the Bleak docs (enable logging, capturing Bluetooth packets)?
> tried to install Xcode to acquire bluetooth packets but I don't have enough memory space You don't need to install XCode, just the hardware utilities from the apple developer...
According to a book I just read, using the 0x2901 "Characteristic User Description" is another recommended way to uniquely identify a characteristic. Also, in some cases, the service probably needs...
Here is my view of the bigger picture. BLE operations are primarily on characteristics, very rarely on descriptors and never on services. So what we really should be focused on...
> enables implementing stuff that would otherwise be impossible. What specifically would be enabled that currently is not possible in Bleak?
> I would like to have at least `BleakClient` available within bleak, in other words: move the platform-dependent imports from `__init__.py` to a new module (say `api.py`). `__init__.py` would then...
We solved the issue in an off topic discussion in #705, but we could do a better job of giving a more useful error message. The problem was that the...