History | View | Annotate | Download (4.33 KB)
Major changes to mainbox code.
-Added local cache for RFID -> tool permissions-Queries new page /crm/roboauth/%08x, which gives bitmask of all toolpermissions instead of just one-Added pid file at /var/run/tooltron.pid-Now must be run as "tooltron run" and also has "tooltron refresh" and...
Added new logging functions which inject timestamps
Event submissions from ./tooltron tested and working
Added query_add_event to mainbox code
mainbox now prints error on 404 or 500 from server
Made errors less noisy
If it can't connect to a tool, it will print an error once, and thenprint another message when it is able to reconnect.
Made rfid.c more robust against false negatives
Also changed LED code to be more generally usable, and changed mainboxto grant access to a particular user id instead of randomly choosing
Fixes. It tooltrons at a basic level now.
Added LED blinking, and other fixes
Added printing the response timeout, and other fixes
- Fixed using SLAVE_ADDR instead of tool->address- Replaced read_registers with read_input_registers
Renamed tool_get_user to tool_read_user
Initial commit of mainbox code.