Go to file
q3k 640b240570 Initial commit of test/ugly/prototype code. 2013-09-05 22:48:54 +02:00
lua-libs Initial commit of test/ugly/prototype code. 2013-09-05 22:48:54 +02:00
.gitignore Initial commit of test/ugly/prototype code. 2013-09-05 22:48:54 +02:00
README Initial commit of test/ugly/prototype code. 2013-09-05 22:48:54 +02:00
code.lua Initial commit of test/ugly/prototype code. 2013-09-05 22:48:54 +02:00

README

This is the Hackerspace Warsaw electronic lock mk2 project.

Work in progress! This is a prototype for a TP-Link WR703n based hardware
solution - with a I2C bus on which there is a MAX7300 IO expander and a PN532
NFC tag reader. The I2C is software bit-banged by the kernel, drivers for both
the IO expander and the PN532 are written in Lua.

Files:
    hslockmk2/                       - this directory
             /code.lua               - main Lua source code
             /lua-libs/              - necessary Lua libraries
                      /mips-bin/     - C libraries compiled for MIPS/OpenWRT
                      luai2c.tar.gz  - C i2c library
                      luasha2.tar.gz - C sha2 library
                      JSON.lua       - JSON library
                      bit.lua        - bitwise operations for Lua 5.1

You will additonally need luasec, luaposix and luasocket. But you can easily
find these in your favourite distribution, or even the OpenWRT source tree.