Commit Graph

5 Commits

Author SHA1 Message Date
Anna Schumaker 4145e5dd6a Add missing "self" argument to Serial.reset_input_buffer()
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2017-06-19 15:59:39 -04:00
Anna Schumaker ff381ba87c pySerial no longer has a flushInput() function
It is now called reset_input_buffer()

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2016-01-20 13:10:10 -05:00
Anna Schumaker 238da432fb Simulator can recycle keys
Rather than always generating a new key, let's sometimes recycle a key
value to test caching.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2016-01-12 09:54:47 -05:00
Anna Schumaker 3879e5e814 simulator: Add an RFID reader exception
So we can test what happens if the Serial library has an error.  I also
make exceptions less likely to happen.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-23 10:53:05 -04:00
Anna Schumaker 8faf31c86f Create a door controller simulator
The simulator fakes up some libraries so that the main door controller
script can be tested without needing a Raspberry Pi.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-22 20:47:11 -04:00