TsTypes
Data Structures#
ts_types.TsDeviceHandle#
Opaque handle to an open Teslasuit device returned by the C API.
ts_types.TsDevice#
C structure representing a Teslasuit device identifier.
Fields
uuid bytes
16-byte UUID that uniquely identifies the device.
ts_types.TsVersion#
C structure representing the version of the Teslasuit C API.
Fields
major int
Major version number.
minor int
Minor version number.
patch int
Patch version number.
build int
Build version number.
Enumerations#
ts_types.TsDeviceType#
Enumeration of Teslasuit device product types.
Undefined(0): Unknown or unrecognised device type.Suit(1): Full Teslasuit suit.Glove(2): Teslaglove.
Members
Undefined 0
Suit 1
Glove 2
ts_types.TsDeviceSide#
Enumeration of the physical side for glove-type Teslasuit devices.
Undefined(0): Side not applicable or not yet determined.Right(1): Right-hand glove.Left(2): Left-hand glove.
Members
Undefined 0
Right 1
Left 2
ts_types.TsDeviceEventPolicy#
Enumeration of policies for the device event callback subscription.
TsDeviceEventPolicy_Enumerate(1): Enumerate all currently connected devices and receive subsequent attach/detach events.
Members
TsDeviceEventPolicy_Enumerate 1
ts_types.TsDeviceEvent#
Enumeration of device connection events delivered to the event callback.
TsDeviceEvent_DeviceAttached(1): A new device has been connected.TsDeviceEvent_DeviceDetached(2): A previously connected device has been disconnected.
Members
TsDeviceEvent_DeviceAttached 1
TsDeviceEvent_DeviceDetached 2
