Station API
Diff: PachubeClient.h
- Revision:
- 3:40b1b79f4998
- Parent:
- 2:a9d1a9c92927
diff -r a9d1a9c92927 -r 40b1b79f4998 PachubeClient.h --- a/PachubeClient.h Mon Dec 12 11:41:24 2011 +0000 +++ b/PachubeClient.h Wed Dec 21 03:29:13 2011 +0000 @@ -52,7 +52,7 @@ static PachubeClient create(char *filename, bool verbose = false) { int feedid = 0; char apikey[64] = {}; - + if (filename) { char path[32]; LocalFileSystem local("local"); @@ -67,10 +67,10 @@ } } } - + return PachubeClient(feedid, apikey, verbose); } - + /** * adds data to the Pachube datastream * @@ -90,7 +90,7 @@ void add(char *id, float value) { length += sprintf(&data[length], "%s,%f\n", id, value); } - + /** * updates datastreams *