From: Bernhard Tittelbach Date: Fri, 5 Mar 2010 01:23:45 +0000 (+0000) Subject: command protocol update X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=dce00a6aae49a640719f0c3ce782a72c5a85a2a8;p=svn42.git command protocol update --- diff --git a/powersensordaemon/COMMANDS.txt b/powersensordaemon/COMMANDS.txt index 26d6ee0..a748b86 100644 --- a/powersensordaemon/COMMANDS.txt +++ b/powersensordaemon/COMMANDS.txt @@ -6,7 +6,10 @@ POWERID:= werkzeug | stereo | labor | schreibtisch | logo | idee EVENT:= all | temp | photo | movement | button SAMPLEDEV:=temp[0-9]+ | photo[0-9]+ -(subscription to events is cummulativ) +Notes: + * subscription to events is cummulativ + * the "sample" command instructs the daemon to immediately get new sensor data of device $SAMPLEDEV + * if listeners for sensors (temp | photo) exist, the daemon should periodically get and distribute sample data without waiting for a "sample" command == Replys of daemon ==