Skip to content

Commit

Permalink
Merge pull request adafruit#30 from dhalbert/response-fix
Browse files Browse the repository at this point in the history
fix check of RESPONSE bit
  • Loading branch information
dhalbert authored Dec 28, 2020
2 parents c1cac63 + f91a486 commit ce6bff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _bleio/characteristic.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def value(self, val) -> None:
self.service.connection._bleak_client.write_gatt_char(
self.uuid._bleak_uuid,
bytearray(val),
response=self.properties | Characteristic.WRITE,
response=self.properties & Characteristic.WRITE,
)
)

Expand Down

0 comments on commit ce6bff6

Please sign in to comment.