You can clone with
HTTPS or Subversion.
Now properly parses pulse times.
Resorted to packing message in json
So it didn't get mangled by sqlite.
It sees 0x00 in an ASCII-encoded string
And ends. Fix this.
SQLite is playing silly buggers.
I'm trying to store a byte string as text, it's helpfully converting it to
unicode, or something. Bleh.
Working towards being able to reply to nodes.
Working on build_reply(), which will pop off the msgqueue the next message
for a given node.
Boring documentation of message types.
Not quite sure. I should probably learn how to git
Now parsing messages from the node!
Inserting current pin states into the database. Very exciting.
Also reading out card numbers is working. Next step is decoding them.
Starting to work on interpretation of messages.
I'm not particularly savvy with python's data types.
Got rid of a silly buffer bug.
It was causing lockup of comms when server was down and buffer looped.
EEEPROM deadman stuff is in. Untested for now.
Need to work on the server side of things for a bit first.
Tidying up the EEPROM stuff.
Added a hardcoded message to test EEPROM set.
Had to fix the checksum thingo.
Added some more smartness around alarming.
Which alarms go through, which don't. Digital pulsing is in but untested.
Next up is groundwork for setting EEPROM values.
Now stores the previously reported state.
Now applies proper analogue thresholds.
Using hardcoded values though. Commented out for now because it will spam
like mad. I need to keep track of the most recent state delivered to the
server so as to only update it on state change.
Used EEPROM_writeAnything to save a heap of lines.
Working on handling messages from the server.
And also a bit more EEPROM stuff, since the server will be sending new
Now transmits card numbers to the server.
Now reading cards. Does not transmit to server yet
Now a bit more intelligent about what to send.
Only sends on analogue thresholds or digital state change. In the future
the analogue inputs will have different thresholds for secure closed,
secure open, cut, short, tamper, etcetera. For now it only sends an
analogue alarm when it hits 0x03FF.
Sped up the transmission manyfold.
Pack multiple queued messages into one xmit block. Low hanging
Signalling I/O states to server.
The enqueue_* functions could use some work. Using memcpy
and rearranging the temp_msg array is clumsy.
Ethernet and crypto settings in EEPROM now.
Starting to implement message types.
I think I might've solved the server lockup.
Replaced all iterators, as a test.
This should never be used again.
Added some testing code, went back to 64B buffer
For testing purposes.
Added a random second-last byte in message.
Also general cleanup.
Commented out most of the debug messages.
Much faster now.
Fixed the buffer problem.
It's running mad slow now due to the amount of debugging stuff.
Scaling that back now.
I seem to have broken some stuff quite badly.
But I think it's all for the best.