host_messages
Module¶
This module contains the messages that are sent to the controller.
-
class
AYABInterface.communication.host_messages.
Message
(file, communication, *args, **kw)[source]¶ Bases:
object
This is the interface for sent messages.
-
MESSAGE_ID
= None¶ the first byte to identify this message
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
AYABInterface.communication.host_messages.
StartRequest
(file, communication, *args, **kw)[source]¶ Bases:
AYABInterface.communication.host_messages.Message
This is the start of the conversation.
See also
-
MESSAGE_ID
= 1¶ the first byte to identify this message
-
init
(left_end_needle, right_end_needle)[source]¶ Initialize the StartRequest with start and stop needle.
Raises: - TypeError – if the arguments are not integers
- ValueError – if the values do not match the specification
-
-
class
AYABInterface.communication.host_messages.
LineConfirmation
(file, communication, *args, **kw)[source]¶ Bases:
AYABInterface.communication.host_messages.Message
This message send the data to configure a line.
See also
-
MESSAGE_ID
= 66¶ the first byte to identify this message
-
-
class
AYABInterface.communication.host_messages.
InformationRequest
(file, communication, *args, **kw)[source]¶ Bases:
AYABInterface.communication.host_messages.Message
Start the initial handshake.
See also
-
MESSAGE_ID
= 3¶ the first byte to identify this message
-
-
class
AYABInterface.communication.host_messages.
TestRequest
(file, communication, *args, **kw)[source]¶ Bases:
AYABInterface.communication.host_messages.Message
Start the test mode of the controller.
See also
-
MESSAGE_ID
= 4¶ the first byte to identify this message
-