[En-Nut-Discussion] HTTP GET für Ethernut

Hugo Simon hugo.simon at gmx.de
Mon Apr 11 19:05:54 CEST 2005


Hello,

did anyone wrote a http get function for NutOS? I want to sent the state of
a button via GET method and receive a simple answer from a webserver:

Ethernut:  GET http://www.webserver.de/sendbutton.pl?btn1=0+serial=0010
Webserver: RESP "OK0010"
Ethernut:  verifies if the OK string was received from the server, if not it
will try again

The number 0010 is a counter which counts up at any transaction, to ensure
that no action is dropped.

Does anyone has some code snippets to share?

Thank you
Thorsten




More information about the En-Nut-Discussion mailing list