1 = Host side of the pulse counter infrastructure. =
3 pulsecounter.c is modelled after BlueZ' gatttool. Because of "strange"
4 design of BlueZ tools, it is not sufficient to use the library that
5 gets installes with it. Complete source installation is necessary.
7 So, unpack, configure *and build* BlueZ source (do not `make install`).
8 In this directory, run `make BLUEZ=/path/to/top/of/bluez/source`. You
9 will get the `pulsecounter` binary.
11 Currently (2015-12-21) supplied database adapter uses MySQL(/MariaDB).
12 Confiruration file (default path `/etc/pulsecounter.db`) contains lines
15 key SPACE* [=:]* SPACE* value
17 Lines are analyzed up to the '#' character (comment separator).
22 host hostname, NULL if not specified (meaning local database).
23 user database user name, NULL if not specified
24 password database password, NULL if not specified
25 database database name, "watermeter" if not specified.