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 default value for the BleakClient.write_gatt_char argument response is False.
This is a nuisance for BLE devices that support write, but not write-without-response. And we could know this: the properties on the characteristics have this information.
Suggestion: we make response an Optional[bool] defaulting to None. And in the default case we examine the properties, use write-without-reponse if it is supported, otherwise we use write.
If this is a good idea I'll create a pull request.