Module driver
This is the Erlang Port Driver
Upon start the driver will be loaded into the Erlang runtime enviroment.
Authors: Thomas Lorentsen, Sten Gruener.
This is the Erlang Port Driver
Upon start the driver will be loaded into the Erlang runtime enviroment.
Using call_port messages can be passed to and from the driver.
You can only start the driver once using an asynchronous driver.
So messages being passed into the driver are serialised and passed into
the driver.
Once the message has been passed into the driver it can continue to pass
more messages into the driver.
Messages are passed back to the caller argument of callport.
To set the number of asynchronous processes inside the port driver
you need to tweak the +A option in erlang shell.
call_port(DriverPid::pid(), Caller::pid(), RobotId::string(), Message::any()) -> {return, Message::string()} | {error, atom()}
Passes a message and result is passed back to Caller.
Starts the driver.
returns the pid to the server to allow communication to the driver.
Stops the server
Generated by EDoc, Aug 13 2009, 23:20:23.