1 ###############################################################
2 /dev/ttyUSB0: door key printer
7 manual open key pressed:
10 manual close key pressed:
13 closing or opening finished
14 Status: closed|opened, idle
16 closing or opening timeout:
17 Error: open/close took too long!
21 response: "Ok", "Already closed", "Error: .*"
23 response: "Ok", "Already opened", "Error: .*"
25 responce: "Ok", "Error: .*"
27 response: "Status: closed|opened|<->, opening|waiting|closing|idle"
30 "Ok, closing now" or "Error: .*"
32 Error: unknown command
34 open/close will only be accepted if Status: ..., idle
35 otherwise response: Error: Operation in progress
37 unless error case s will always be accepted
39 Reset overrules all other operations in progress
41 if an error occured every command besides r gets ingnored and
42 Error: last open/close operation took too long!
45 ###############################################################