anilgkts / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Pachube ethernet examples should use the v2 api and needs some cleanup #826

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?
PachubeClient   
-------------
* Update to v2 of the api and redo some of the string handling because of that. 
* Static IP fallback is only confusing since without gateway and dns it won't 
work anyway
* Remove extra ethernet initialization

PachubeClientString
-------------------
* Updated to v2 of the api and do some alterations of the csv format because of 
that.
* Static IP fallback is only confusing since without gateway and dns it won't 
work anyway

Why?
The examples should be as current and correct as possible and there have been 
some forum activity complaining about the quality of those samples. for example 
http://arduino.cc/forum/index.php/topic,89919.0.html

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?
I can't see any incompability issues with these changes. It rather miltigates 
compability issues with pachube.com

Attach is a patch of the proposed changes. I have tested both examples and they 
work and data gets updated.

Original issue reported on code.google.com by pe...@birchroad.net on 21 Feb 2012 at 4:28

Attachments:

GoogleCodeExporter commented 9 years ago
I think Tom is working on this.

Original comment by dmel...@gmail.com on 2 Mar 2012 at 11:31

GoogleCodeExporter commented 9 years ago
I updated them to v2 a few days ago.

Original comment by tom.i...@gmail.com on 3 Mar 2012 at 4:58