Skip to content

Commit

Permalink
set response=True for write_gatt_char to fix silent failure
Browse files Browse the repository at this point in the history
  • Loading branch information
tensorturtle committed Nov 21, 2023
1 parent b2ff654 commit ff0cfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycycling/fitness_machine_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _control_point_response_handler(
async def request_control(self) -> None:
message = form_ftms_control_command(FTMSControlPointOpCode.REQUEST_CONTROL)
await self._client.write_gatt_char(
ftms_fitness_machine_control_point_characteristic_id, message, False
ftms_fitness_machine_control_point_characteristic_id, message, True
)

async def reset(self) -> None:
Expand Down

0 comments on commit ff0cfff

Please sign in to comment.