You are reading the documentation for the main branch, which may contain unreleased changes. The most recent release is v0.1.0.

pnpq.events module#

class pnpq.events.Event(*values)#

Bases: StrEnum

APT_CONNECTION_ERROR = 'apt_connection_error'#
APT_POLLER_EXIT = 'apt_poller_exit'#
DEVICE_CONNECTED = 'device_connected'#
DEVICE_IDENTIFY = 'device_identify'#
DEVICE_NOT_CONNECTED = 'device_not_connected'#
RX_MESSAGE_KNOWN = 'rx_message_known'#
RX_MESSAGE_UNKNOWN = 'rx_message_unknown'#
SWITCH_BAR_STATE = 'switch_bar_state'#
SWITCH_CROSS_STATE = 'switch_cross_state'#
TX_MESSAGE_ORDERED = 'tx_message_ordered'#
TX_MESSAGE_ORDERED_EXPECT_REPLY = 'tx_message_ordered_expect_reply'#
TX_MESSAGE_ORDERED_NO_REPLY = 'tx_message_ordered_no_reply'#
TX_MESSAGE_UNORDERED = 'tx_message_unordered'#
UNCAUGHT_EXCEPTION = 'uncaught_exception'#
WAVEPLATE_HOME = 'waveplate_home'#
WAVEPLATE_ROTATE = 'waveplate_rotate'#