Rovio http command
I'm trying to send a Rovio robot an http
command.
This works from the Internet Explorer URL
line:
My attempt at writing this in Lisp:
(with-open-stream (http (comm:open-tcp-stream
"192.168.0.194" 80))
(format http "rev.cgi?Cmd=nav&action=18&drive=1&speed=5")
(force-output http)
(close http))
(format http "rev.cgi?Cmd=nav&action=18&drive=1&speed=5")
(force-output http)
(close http))
The (comm:open-tcp-stream "192.168.0.194" 80) part
returns something that looks appropriate, but the command doesn't execute - the
robot should move forward, but nothing happens.
I apologize for asking such a basic question - but
this one has me puzzled....
Bruce.