diff --git a/pycycling/fitness_machine_service.py b/pycycling/fitness_machine_service.py index 5f4dc6c..4e484dd 100644 --- a/pycycling/fitness_machine_service.py +++ b/pycycling/fitness_machine_service.py @@ -192,13 +192,13 @@ 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: message = form_ftms_control_command(FTMSControlPointOpCode.RESET) 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 set_target_resistance_level(self, level: int) -> None: @@ -206,7 +206,7 @@ async def set_target_resistance_level(self, level: int) -> None: FTMSControlPointOpCode.SET_TARGET_RESISTANCE_LEVEL, int(level) ) 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 set_target_power(self, power: int) -> None: @@ -214,5 +214,5 @@ async def set_target_power(self, power: int) -> None: FTMSControlPointOpCode.SET_TARGET_POWER, int(power) ) await self._client.write_gatt_char( - ftms_fitness_machine_control_point_characteristic_id, message, False + ftms_fitness_machine_control_point_characteristic_id, message, True )