From dce00a6aae49a640719f0c3ce782a72c5a85a2a8 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Fri, 5 Mar 2010 01:23:45 +0000 Subject: [PATCH] command protocol update --- powersensordaemon/COMMANDS.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 == -- 1.7.10.4