Revision 294 trunk/swipe/manualtron.py
| manualtron.py (revision 294) | ||
|---|---|---|
| 41 | 41 |
print "cardnum:",card |
| 42 | 42 |
return True |
| 43 | 43 |
|
| 44 |
def tool(t): |
|
| 45 |
common.sendMessage(t, common.TT_GRANT, "") |
|
| 46 |
if common.checkAck(t): |
|
| 47 |
print "got ACK" |
|
| 48 |
else: |
|
| 49 |
print "NO ACK" |
|
| 44 | 50 |
|
| 45 | 51 |
def ping(t): |
| 46 | 52 |
common.sendMessage(t, common.TT_PING, "") |
Also available in: Unified diff