Files
pybricks-api/doc/api/messaging.rst
T
Laurens Valk 9e1134b4e9 doc/messaging: add simpler diagram
also restyle to match examples included in the docs.
2020-03-25 20:30:34 +01:00

56 lines
1019 B
ReStructuredText

:mod:`messaging <pybricks.messaging>` -- Messaging
==================================================
.. automodule:: pybricks.messaging
:no-members:
.. currentmodule:: pybricks.messaging
Introductory text. An example network is shown in :numref:`fig_messaging`.
.. _fig_messaging:
.. figure:: ../api/images/messaging_label.png
:width: 90 %
:alt: messaging
:align: center
An example network with one server and one clients.
Connections
------------
.. autoclass:: BluetoothMailboxServer
.. autoclass:: BluetoothMailboxClient
Mailboxes
---------
Mailboxes are used to send data to and from other EV3s.
.. autoclass:: Mailbox
.. autoclass:: LogicMailbox
:no-members:
.. autoclass:: NumericMailbox
:no-members:
.. autoclass:: TextMailbox
:no-members:
Bigger networks
----------------
.. _fig_messaging_network:
.. figure:: ../api/images/messaging_network_label.png
:width: 90 %
:alt: messaging
:align: center
An example network with one server and two clients.