I have published a library that will post data to the SparkFun Phant server (http://data.sparkfun.com). You can find it in the libraries as PietteTech_Phant.
Some differences between this library and the existing Phant library -
* Uses TCPClient block write and block reads when possible * Designed with static internal buffers w/511 bytes of name/value pairs * Currently only supports Steam Clear and Stream Post * Waits for the response and checks return codes from the Phant server * Error codes are returned from the sendData & addData calls * You have access to human readable Phant messages using getError() method
The included example will show you how to post just about any data type and send it to the server. I have created a demo test stream on data.sparkfun.com so you can build the example and run it without having to create your own stream. You can view the data at http://data.sparkfun.com/streams/G2EroylGG1tmmoX44KKn
Please let me know if you experience any problems with this library. A lot of time has been spent into making it solid and robust with communications to the Phant server.
This project was supported by the Open Source Beehives Project (http://www.opensourcebeehives.net)