jung6717 / arduino

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

Rewrite Ethernet examples to use String class. #289

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What change would like to see?

The Ethernet library examples should probably use the new String class, as the 
current string handling can be confusing.

Original issue reported on code.google.com by dmel...@gmail.com on 11 Jul 2010 at 10:44

GoogleCodeExporter commented 8 years ago

Original comment by dmel...@gmail.com on 11 Aug 2010 at 10:59

GoogleCodeExporter commented 8 years ago
Looking through these, I think the only one at issue is the Pachube client. I 
should use String.length to get the content length.  I think the Twitter client 
may have to be killed since Twitter's shifting to Oauth, and I won't have time 
to work up a version with OAuth.  Better to point folks to NeoCat's twitter 
arduino library in the playground for that.

Original comment by tom.i...@gmail.com on 12 Aug 2010 at 1:25

GoogleCodeExporter commented 8 years ago
See PachubeClientString, which I just added.  We can either delete 
PachubeClient, or leave it in, as it shows how to calculate the length of the 
content when you're not using Strings.

The other Ethernet examples can stand as they are, I think.  They're pretty 
straightforward.

Original comment by tom.i...@gmail.com on 12 Aug 2010 at 1:46

GoogleCodeExporter commented 8 years ago
about the enc28j60 i'm in need to upload some string variable... since i'm new 
and the way that i found is a bit too complicated... do you have some more less 
complicated way... im working on a surveillance project with arduino... as 
final course development work... so i'm in need of it :P

best regards

Original comment by angelo.c...@gmail.com on 12 Dec 2011 at 1:24