bpod_core.ipc.MessageKind

class bpod_core.ipc.MessageKind

Bases: IntEnum

The types of messages exchanged between host and clients.

__new__(value)
ERROR = 4

An error message.

HELLO = 0

A message sent by the client to initiate the handshake.

REPLY = 3

A reply sent by the host.

REQUEST = 2

A request sent by the client.

WELCOME = 1

A message sent by the host to acknowledge the client’s handshake.

property as_bytes: bytes

The message kind as a byte string.