sending Ok response after each RF433 Command
[svn42.git] / powersensordaemon / COMMANDS.txt
index 26d6ee0..d3367af 100644 (file)
@@ -6,11 +6,14 @@ 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 ==
 
-CMDREPLY:= ok | error $ERRORSTR
+CMDREPLY:= OK | Error: $ERRORSTR
 ERRORSTR:=no connection | unknown device | ....
 
 == Listener Data from Daemon ==