itchcraft.heat_it
Backend for heat-it
Attributes
Classes
A “heat it” bite healer, configured over USB. |
Module Contents
- itchcraft.heat_it.RESPONSE_LENGTH = 12
- class itchcraft.heat_it.HeatItDevice(device)
Bases:
itchcraft.types.BiteHealerA “heat it” bite healer, configured over USB.
- Parameters:
device (BulkTransferDevice) – the backend object to which to delegate the USB bulk transfer.
- device: BulkTransferDevice
- test_bootloader()
Issues a TEST_BOOTLOADER command and returns the response.
- Return type:
bytes
- get_status()
Issues a GET_STATUS command and returns the response.
- Return type:
bytes
- msg_start_heating(preferences)
Issues a MSG_START_HEATING command and returns the response.
- Parameters:
preferences (Preferences) – how the user wants the device to be configured.
- Return type:
bytes
- self_test()
Tests the bootloader and obtains the device status.
- Return type:
None
- start_with_preferences(preferences)
Tells the device to start heating up.
- Parameters:
preferences (Preferences) – how the user wants the device to be configured.
- Return type:
None