Project

General

Profile

Statistics
| Revision:

root / trunk / swipe / tooltron.py @ 299

History | View | Annotate | Download (10.5 KB)

  • svn:executable: *
# Date Author Comment
299 05/12/2010 06:00 PM Brad Neuman

added CNC, needs testing

298 05/11/2010 08:17 PM Brad Neuman

fixed payment bug

297 05/11/2010 08:11 PM Brad Neuman

fixed payment date bug (possibly)

291 05/11/2010 02:29 PM Brad Neuman

one bugfix to payment date thing and made the test program that sets eeprom call parse_packet

284 05/10/2010 06:22 PM Brad Neuman

added password file and pingTest

283 05/10/2010 05:40 PM Brad Neuman

massive updates for new cardbox transaction system

265 05/07/2010 08:06 PM Brad Neuman

added payment checking, needs to be tested in the real system

264 04/09/2010 09:15 PM Brad Neuman

fixed funny server bug

263 04/09/2010 09:13 PM Brad Neuman

argh, something strange is going on. added more printouts

262 04/09/2010 09:10 PM Brad Neuman

added debugging printouts

261 04/09/2010 09:05 PM Brad Neuman

updated tooltron server to hande being offset from cardbox (implicit ACKS) and ot handle ctrl-c presses

259 04/02/2010 05:25 PM Brad Neuman

wow im a moron, uncommented the cirtical section of code in tooltron.py

258 04/02/2010 12:26 PM Brad Neuman

fixed bug with retries in server and made mysql reconnect each swipe

257 03/27/2010 03:16 PM Brad Neuman

huge delay to keep the ftdi chip happy

256 03/27/2010 03:06 PM Brad Neuman

added delay between messages on the bus

254 03/26/2010 05:04 PM Brad Neuman

added some logging output

252 03/25/2010 05:57 PM Brad Neuman

made tooltron server ignore card swipes during a transaction

251 03/25/2010 05:51 PM Brad Neuman

added NACK if there is a double-swipe

243 03/25/2010 05:00 PM Brad Neuman

updated server to deal with new cardbox code

241 03/24/2010 05:18 PM Brad Neuman

fixed log message

240 03/24/2010 12:10 PM Brad Neuman

set to use /var/log/tooltron as log file

239 03/23/2010 08:20 PM Brad Neuman

removed extra error state for timeouts so we don't get so much error spam

238 03/23/2010 07:20 PM Brad Neuman

silly me

237 03/23/2010 07:18 PM Brad Neuman

typo, damn python

235 03/23/2010 07:14 PM Brad Neuman

added handling for timeouts in readKey

234 03/23/2010 06:59 PM Brad Neuman

fixed keypad timeout

233 03/23/2010 06:43 PM Brad Neuman

oops

232 03/23/2010 06:42 PM Brad Neuman

fixed timeout bug in tooltron server

230 03/16/2010 03:46 PM Brad Neuman

added smarter (and more hacky) excpetion handling to tooltron.py

224 03/04/2010 07:59 PM Brad Neuman

fixed reflection handling in the server

222 03/04/2010 06:48 PM Brad Neuman

code reafactoring for server and manualtron

221 03/04/2010 05:48 PM Brad Neuman

merged in manualtron fixes

218 03/03/2010 08:39 PM Brad Neuman

changed messages to have payload length. Also created manualTron

213 03/01/2010 02:32 AM Brad Neuman

fixed cardbox code for new board, updated tooltron.py for new cardbox

210 02/28/2010 05:40 PM Brad Neuman

Updated jumptable and Makefile for tooltron to work with bootloader
updated tooltron.py to handle NACKs
Fixed tooltron.py to send 'o' instead of 'O'

150 02/03/2010 10:41 PM Brad Neuman

Fixed several bugs:
warn state no longer allows red button to kill tool while it is spinning
keypresses are flushed by the server before a request so we don't get the one-swipe-behind bug

Changes:
red light stays on on toolboxes while powered
added more blink-error codes to the cardbox

147 01/27/2010 07:56 PM Brad Neuman

updated comments

146 01/18/2010 06:41 PM Brad Neuman

logging with user names

145 01/18/2010 05:36 PM Brad Neuman

added some more logging to server

144 01/18/2010 05:09 PM Brad Neuman

added some logging but doesn't look up usernames yet

143 01/18/2010 04:41 PM Brad Neuman

updated server to handle multiple swipes and have more reasonable timeout behavior.
tested with 5 toolboxes, seems to work for now
Also removed unnecessary code from uart in toolbox.

141 01/18/2010 01:43 PM Brad Neuman

changed timeouts to be shorter for 422 acks

140 01/18/2010 01:06 PM Brad Neuman

renamed dustmite to tooltron since dustmite the server is dead

139 08/12/2009 04:27 AM Kevin Woo

Added LGPL to all source code except the hardware schematics.

131 04/24/2009 12:02 AM Brad Neuman

ooops

130 04/24/2009 12:01 AM Brad Neuman

added multiple tool numbers per tool name
i.e. there are two bandsaws but one item called "Bandsaw" in the db

128 04/23/2009 11:44 PM Brad Neuman

added a silly thread and fancy compilicated crap that allows us to ignore input to stdin between swipes

126 04/23/2009 09:47 PM Brad Neuman

oops, flush is undefined on stdin, so now using read instead.
rookie mistake

125 04/23/2009 09:32 PM Brad Neuman

hopefully fixes the multi-swipe bug

124 04/17/2009 04:13 PM Brad Neuman

bugfix

122 04/15/2009 11:55 PM Brad Neuman

bugfix

121 04/15/2009 10:53 PM Brad Neuman

added a function which parses the ack

120 04/15/2009 10:25 PM Brad Neuman

sending and recving over bus works!!
need to parse for ACKs

119 04/15/2009 08:25 PM Brad Neuman

added query stuff to dustmite.py. should be working but hasn't been tested with the keypad

106 04/05/2009 04:10 PM Kevin Woo

Preparing tooltron repository to become the officers repo.