Initial commit
Add README
Add sample udev rule, mention in README
libfitbit: Put tracker to sleep following sync

Rather than simply ignoring it for a while, the tracker will stop
broadcasting its beacon.
libfitbit: Avoid unnecessary base resets

If the base is setup to listen for beacons on a channel & the same setup
is later requested, simply do nothing. This has the result that after an
unsuccessful search for a tracker beacon the base does not need to be
reset & reconfigured for the next scan.
libfitbit: Cleanup unnecessary initial state assignments

The fitbit_t structure is allocated with calloc so setting zero values
is redundant.
fitbitd: Reduce default scan delay to 10s

This seems like a better default, it'll catch trackers fairly quickly
and since the base reset happens much less often as of f986d3e won't
cause lots of frequent work.
libfitbit: Prevent lack of trackers logging an error

Stop using the error macro for the return value of
fitbit_find_tracker_beacon, cleans up the loop a little too.
libant: Add ant_is_dead, mark dead upon read failures

If a read fails in an unrecoverable way (ie. not a timeout) then the ant
transport is dead. Keep track of this, so that users like libfitbit can
check at opportune moments whether the transport died and destroy the
ant instance. Perform this check in fitbit_sync_trackers, such that a
failed sync due to a dead transport returns an error as it should.
fitbitd: Add initial DBUS control interface

Currently allows for a clean exit with `fitbitd --exit`.
fitbitd: Add install make target

Just copies fitbitd to $(DESTDIR)/bin/fitbitd for now.
fitbitd: Add --help option

Briefly documents the available options for the user. Also outputs the
help text if an unrecognised option is provided.
fitbitd: Add GetDevices call to control protocol

Allows clients to retrieve a list of recently seen trackers along with
state information. Also broadcasts a StateChanged signal whenever the
state of a device changes so that clients can update accordingly.
libfitbit: Add function to set custom chatter messages

Allows the users greeting & chatter messages to be set. These could
potentially be overriden locally at some point.
fitbitd: Modularise the install target

Rather than the top-level makefile knowing too many details about
fitbitd, specify a general install target and an install-fitbitd target
that it depends upon. This will also allow other install targets to be
added soon (eg. for an indicator) and allow each to be targeted
individually (eg. for a split package) or all together.
fitbitd: Add DBUS .service file

Allows DBUS activation to work so that fitbitd is executed when required.
fitbitd: Perform blocking DBUS reads in control thread

Otherwise the loop spins tightly causing high CPU load.
indicator: Initial implementation of indicator-fitbit

Connects to fitbitd, shows trackers in an indicator menu and updates as
StateChanged signals are broadcast.
libfitbitdcontrol: Handle DBUS proxy destroy signal

If it happens and a user was watching for fitbitd state changes, attempt
to reconnect to the bus.
libfitbit: Fix invalid memory write

sizeof(array parameter) is the size of the pointer to it, so use
sizeof(array inside struct) instead. Showed up with valgrind/memcheck.