summaryrefslogtreecommitdiff
path: root/host/mex/__init__.py
diff options
context:
space:
mode:
authorNicolas Schodet2011-03-30 20:08:34 +0200
committerNicolas Schodet2011-03-30 20:08:34 +0200
commit057180987cacfe47edbe21bf2f8c0573901ded2f (patch)
treece5eb7c68525ead0430d43051428a9234ebfa053 /host/mex/__init__.py
parentc9a004ed32389dd17167f19be7916ef9320e8e39 (diff)
host/mex, digital/avr/modules/host: add message type reservation, refs #157
Diffstat (limited to 'host/mex/__init__.py')
-rw-r--r--host/mex/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/mex/__init__.py b/host/mex/__init__.py
index 1855d708..f87cf856 100644
--- a/host/mex/__init__.py
+++ b/host/mex/__init__.py
@@ -40,6 +40,10 @@ RSP = 3
"""RSP (response) message, response to a REQ message, only sent to the
requesting node."""
+RES = 4
+"""RES (reserve) message, sent to the hub to request a message type, sent to a
+node with the allocated message type."""
+
DEFAULT_ADDR = ('localhost', 2442)
HEADER_FMT = '!HB'