From 680e50567564b1a57038e6bf476fdf8016f83fe7 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 16 Nov 2008 13:40:20 +0100 Subject: * host/mex: - added documentation for the mex library. --- host/mex/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'host/mex/__init__.py') diff --git a/host/mex/__init__.py b/host/mex/__init__.py index 17a462a3..1855d708 100644 --- a/host/mex/__init__.py +++ b/host/mex/__init__.py @@ -24,16 +24,16 @@ """mex - Messages exchange library.""" IDLE = 0 -"""IDLE message, send by nodes to the hub to signal it had handled all -messages. It can have an optionnal parameter: the date at which the node will +"""IDLE message, sent by nodes to the hub to signal it had handled all +messages. It can have an optional parameter: the date at which the node will not be idle anymore.""" DATE = 1 -"""DATE message, send by the hub to the nodes to update the current date -value.""" +"""DATE message, sent by the hub to the nodes to update the current date +value, sent by a node to request the current date (useful at startup).""" REQ = 2 -"""REQ (request) message, send from a node to other nodes to request a +"""REQ (request) message, sent from a node to other nodes to request a response message.""" RSP = 3 -- cgit v1.2.3