ReceiveMessageHeader

class ReceiveMessageHeader[source]

Bases: object

Define names for message headers received from the Bpod device.

The message header is the first byte (character) on a message received.

__init__()

Methods

Attributes

ENABLE_PORTS_OK

Success code from ENABLE_PORTS command

HANDSHAKE_OK

Success code from HANDSHAKE command

LOAD_SERIAL_MESSAGE_OK

Success code from LOAD_SERIAL_MESSAGE command

MODULE_EVENT_NAMES

Module events names

MODULE_REQUESTED_EVENT

Module requested event

RESET_SERIAL_MESSAGES

Success code from RESET_SERIAL_MESSAGES command

STATE_MACHINE_INSTALLATION_STATUS

Success code from RUN_STATE_MACHINE command

SYNC_CHANNEL_MODE_OK

Success code from SYNC_CHANNEL_MODE command

ENABLE_PORTS_OK = 1

Success code from ENABLE_PORTS command

HANDSHAKE_OK = '5'

Success code from HANDSHAKE command

LOAD_SERIAL_MESSAGE_OK = 1

Success code from LOAD_SERIAL_MESSAGE command

MODULE_EVENT_NAMES = 69

Module events names

MODULE_REQUESTED_EVENT = 35

Module requested event

RESET_SERIAL_MESSAGES = 1

Success code from RESET_SERIAL_MESSAGES command

STATE_MACHINE_INSTALLATION_STATUS = 1

Success code from RUN_STATE_MACHINE command

SYNC_CHANNEL_MODE_OK = 1

Success code from SYNC_CHANNEL_MODE command