10 pages of cgm data

first trial at downloading the CGM data - ran for 10 pages
cgm download pages identical

When downloading the CGM data from the MM pump. The download command
seems to be downloading the same page over and over again. All the pages
downloaded (1-9) appear to be identical.

Could be that the data in them is identical and that the downloading
process is working correctly, but it just seems a little odd.
download of 40 cgm pages

tried to download 40 cgm data pages. looks like page 18 is different
from the others.
page 18 doesn't seem to change over time

tried downloading page 18 several times over ~30 minutes. This should
have captured ~6 CGM data points (1 for every 5 minutes). The data seems
to remain unchanged.
10 pages of cgm data

first trial at downloading the CGM data - ran for 10 pages
cgm download pages identical

When downloading the CGM data from the MM pump. The download command
seems to be downloading the same page over and over again. All the pages
downloaded (1-9) appear to be identical.

Could be that the data in them is identical and that the downloading
process is working correctly, but it just seems a little odd.
download of 40 cgm pages

tried to download 40 cgm data pages. looks like page 18 is different
from the others.
page 18 doesn't seem to change over time

tried downloading page 18 several times over ~30 minutes. This should
have captured ~6 CGM data points (1 for every 5 minutes). The data seems
to remain unchanged.
Another Run

Not much here.
various CGM downloads
download doesn't seem to be quite right still

See page-diffs.diff - all the pages seem to have the same data.
compare-pages.sh - the diffs commands in a script

cgm download process can be seen from the previous commit.
Merge branch 'erobinson/cgm-decode' of https://github.com/erobinson/decoding-carelink into erobinson/cgm-decode

Conflicts:
	analysis/send-ReadSensorHistory.markdown
	current-cgm-page.markdown
	logs/cgm-page-1-ReadSensorHistoryData-page-0.data
	logs/cgm-page-10-ReadSensorHistoryData-page-0.data
	logs/cgm-page-11-ReadSensorHistoryData-page-0.data
	logs/cgm-page-13-ReadSensorHistoryData-page-0.data
	logs/cgm-page-14-ReadSensorHistoryData-page-0.data
	logs/cgm-page-15-ReadSensorHistoryData-page-0.data
	logs/cgm-page-16-ReadSensorHistoryData-page-0.data
	logs/cgm-page-17-ReadSensorHistoryData-page-0.data
	logs/cgm-page-18-ReadSensorHistoryData-page-0.data
	logs/cgm-page-19-ReadSensorHistoryData-page-0.data
	logs/cgm-page-2-ReadSensorHistoryData-page-0.data
	logs/cgm-page-20-ReadSensorHistoryData-page-0.data
	logs/cgm-page-21-ReadSensorHistoryData-page-0.data
	logs/cgm-page-22-ReadSensorHistoryData-page-0.data
	logs/cgm-page-23-ReadSensorHistoryData-page-0.data
	logs/cgm-page-24-ReadSensorHistoryData-page-0.data
	logs/cgm-page-25-ReadSensorHistoryData-page-0.data
	logs/cgm-page-26-ReadSensorHistoryData-page-0.data
	logs/cgm-page-27-ReadSensorHistoryData-page-0.data
	logs/cgm-page-28-ReadSensorHistoryData-page-0.data
	logs/cgm-page-29-ReadSensorHistoryData-page-0.data
	logs/cgm-page-3-ReadSensorHistoryData-page-0.data
	logs/cgm-page-30-ReadSensorHistoryData-page-0.data
	logs/cgm-page-31-ReadSensorHistoryData-page-0.data
	logs/cgm-page-32-ReadSensorHistoryData-page-0.data
	logs/cgm-page-33-ReadSensorHistoryData-page-0.data
	logs/cgm-page-34-ReadSensorHistoryData-page-0.data
	logs/cgm-page-35-ReadSensorHistoryData-page-0.data
	logs/cgm-page-36-ReadSensorHistoryData-page-0.data
	logs/cgm-page-37-ReadSensorHistoryData-page-0.data
	logs/cgm-page-38-ReadSensorHistoryData-page-0.data
	logs/cgm-page-39-ReadSensorHistoryData-page-0.data
	logs/cgm-page-4-ReadSensorHistoryData-page-0.data
	logs/cgm-page-5-ReadSensorHistoryData-page-0.data
	logs/cgm-page-6-ReadSensorHistoryData-page-0.data
	logs/cgm-page-7-ReadSensorHistoryData-page-0.data
	logs/cgm-page-8-ReadSensorHistoryData-page-0.data
	logs/cgm-page-9-ReadSensorHistoryData-page-0.data
	runCGMDownload.sh
stub out OP36, seems to be some kind of reboot/test/flash command
Add some common helpers for CLI programs

Should encourage more re-use and easier CLI programs.
refactor/cleanup command line tools

Now the code that creates the commandline tools is also re-usable for
other tools.  Also now all tools use the same framework, so they all
behave more or less the same.
Merge remote-tracking branch 'erobinson/erobinson/cgm-decode' into wip/recentish-activity
Fix page params AGAIN

Actually fix parameters/pages.
don't forget to import time

Forgot an import affecting use of the sleep command.
found some old CGM data from my pump!
stub out script to grab bunch of latest activity

Should help report latest activity.