Ian,
The WebBrick serial interface can be configured to operate
in the following modes RS232, RS485 or DMX. To setup the mode and baud rate use
the CR command.
To send serial data (applies to RS232 and RS485 mode), you
will have to use the RD command. This allows you to send a string of ASCII
characters. The ASCII characters will have to be specified using their decimal
representation.
You can find more information on http://docs.webbrick.co.uk/, all commands are listed in the WebBrick Command Sheet (http://docs.webbrick.co.uk/WebBrick/CommandSheet6_00.pdf).
All commands can be passed to the WebBrick via the URL:
http://<ip
Address>/hid.spi?com=<commandString>
Example:
Set serial interface to RS232 and to baud rate of 9600:
CR2;5:
Send the string: Hello
RD72;101;108;108;111:
A good page for getting
the decimal ASCII codes is:http://www.paulschou.com/tools/xlate/