1 ###############################################################
2 /dev/ttyUSB0: door key printer
9 manual open key pressed:
12 manual close key pressed:
15 closing or opening finished
16 Status: closed|opened, idle
18 closing or opening timeout:
19 Error: open/close took too long!
23 response: "Ok", "Already closed", "Error: .*"
25 response: "Ok", "Already opened", "Error: .*"
27 responce: "Ok", "Error: .*"
29 response: "Status: closed|opened|<->, opening|waiting|closing|idle, ajar|shut"
32 "Ok, closing now" or "Error: .*"
34 Error: unknown command
36 open/close will only be accepted if Status: ..., idle, ...
37 otherwise response: Error: Operation in progress
39 unless error case s will always be accepted
41 Reset overrules all other operations in progress
43 if an error occured every command besides r gets ingnored and
44 Error: last open/close operation took too long!
47 ###############################################################