jcw/ethercard — pull request #21 by futureshape (2012-03-01 13:36:02+00:00)
Title: Added SNMP support, web client new features/fixes

1) Added functions for an SNMP client (manager). It allows users of the library to probe SNMP-enabled devices (such as servers, routers and printers) for string or numeric values and use them in your Arduino code.

SNMP is notoriously complicated so not everything is supported 100%, but I've tested this code over a period of time continuously querying our office router and showing our internet traffic stats on an LED display.

2) Web client has support for PUT method (in addition to post). Pachube requires PUT for pushing data to a feed (although there's an ugly workaround for avoiding this).

3) Web client has support for chaning the POST/PUT content type. Some services require you to post other content types e.g. application/json

4) Fixed a subtle bug on in www_client_internal_datafill_cb. When the additional header line (ahl) is null, bfill.emit_p gets passed an empty RAM string "" - this should be PSTR("") to match the $F format specifier