from enum import Enum class ConnectionType(Enum): 'usb' = 1 'bluetooth' = 2 'wireless' = 3 'unknown' = -1