On Mon, 15 Mar 2004 16:27:01 -0500, Russell Nelson wrote:

>Dipak Prasad writes:
> > I am about to start playing with the Olimex EW2 board (waiting for it to 
> > get delivered) and the mspgcc tcpip port.  Is there an example available to 
> > POST data to the MSP430 web server so that I can control the MSP430 via its 
> > own web server.  I believe that the tcpip  port available defaults to a GET 
> > operation.  How involved would it be for me to implement a POST operation, 
> > any pointers will be appreciated since I have not done any tcp/ip 
> > programming.

>You don't really need POST, unless you're going to be uploading
>largish forms full of text.  GET with a URL of
>http://192.168.0.30/foo?a=b&c=d&e=f are eminently usable.  If your
>HTML doesn't specify POST, the web client will format the form values
>into a=b, c=d, and e=f as needed.  On the EW2 end you'll have to undo
>the encoding, but no biggie.

>IMHO, the example web server for the EW2 is a piece of crap.  Once I
>figure out how to upload code (compilation is working fine), I'm going
>to start working on a vastly improved version.  Wishlist:
>  o configurable assignment of buttons to functions.
>  o sensing of the four opto-isolated inputs.
>  o control of the two relays
>  o control of the beeper
>  o control of the status light.
>  o ability to send stuff to the LCD.
>  o 1-Wire code, so you can read a temperature ibutton from the web.
>  o telnet server for the serial port.

>The idea is to make it useful out of the box, without *needing* to do
>any development.

>Also, the EW2 really, really really needs a BOOTP client.  DHCP would
>be better, but BOOTP at a minimum.

>It also needs to use a locally-assigned Ethernet address
>(02:03:04:05:06) rather than a multicast address (01:02:03:04:05).  It
>would be much better if the Olimex folks had bought an OUI, but I
>guess they haven't.


I ported version 0.9 of uIP using msp-gcc to the Olimex MSP430easyWeb
board (not the easyWeb2).  Adam Dunkels (uIP's author) gave permission
for it to be posted to the msp-gcc site if there was interest.  In
checking the website, it also appears Paul Curtis of Rowley Associates
has ported it to the MSP using their Crossworks compiler.

http://dunkels.com/adam/uip/

Regards
-Bill Knight
R O SoftWare





Reply via email to