qdot/libfitbit — pull request #22 by marcushall42 (2012-02-14 03:41:13+00:00)
Title: Change download data bank to get detailed data & sleep markers

Looking at the logs from running the fitbit windows program, when it downloads a data bank, the first command has a '0x70' instead of a '0x60'. This change seems to download the detailed data that we were missing. This is a make/break issue for my wife (the fitbit user in our family).

Also changed some timing so that we wait for 5 minutes to see the beacon, and re-try a sync immediately if we were unsuccessful, sleeping 15 minutes only if we were successful. These both mimic the fitbit software more closely.