Skip to content

Commit

Permalink
Merge pull request #9 from think-free/master
Browse files Browse the repository at this point in the history
Sqlite3 logging

* think-free/master:
  Adding command line options
  Minor corrections
  Minor corrections
  Adding various tables to db
  Uploading rights files >_<
  Adding sqlite support for logging, need to add command line option
  • Loading branch information
Barnaby Gray committed Jan 18, 2013
2 parents a6d9f76 + a31cd38 commit 866805a
Show file tree
Hide file tree
Showing 3 changed files with 440 additions and 60 deletions.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,5 +1,5 @@
CFLAGS += `pkg-config libhid --cflags` -pedantic -Wall -D_GNU_SOURCE
LIBS += `pkg-config libhid --libs`
LIBS += `pkg-config libhid --libs` -lsqlite3 -lpthread

wmr100: wmr100.c
cc ${CFLAGS} -o wmr100 wmr100.c ${LIBS}
Expand Down
6 changes: 5 additions & 1 deletion README.markdown
Expand Up @@ -24,11 +24,15 @@ You'll need to setup the udev rules (see udev/README) if you want to
run this not as root. This is due to how libhid accesses the USB
ports.

This fork add support to sqlite logging

Requisites
----------

libhid-dev (or similarly named) package installed.
pkg-config package installed.
libsqlite3-dev package installed.
libusb-dev package installed.

Building
--------
Expand All @@ -42,7 +46,7 @@ To keep the default HIDManager from taking the wmr100, run this once: `make setu
If you want to use different software to read the wmr100 device, you should undo this by running
`make unsetup_osx` and then reboot so that the HIDManager will take control of the device again.


To install on raspberry pi use this script : https://github.com/think-free/pi-scripts/raw/master/InstallWmr100OnPi.sh

Usage
-----
Expand Down

0 comments on commit 866805a

Please sign in to comment.