[Avrora] Question about serial devices
Roy
roy at cs.hmc.edu
Thu Jul 5 10:33:44 PDT 2007
Howdy,
This is just a copy an paste response, since I'm not great with
avrora. This is the command line that some of the SOS folk use for
testing:
----
java -server avrora/Main -banner=false -colors=true -platform=mica2 \
-simulation=sensor-network -monitors=serial,real-time \
-show-packets=true\
-show-tree-packets=true \
-ports=1:0:8314 \
-nodecount=2 -update-node-id=true -sections=.data,.text,.sos_bls \
-topology=topo.def \
-sensor-data="light":0:light.dat \
$1
----
Of note is the "-ports=1:0:8314" line which attaches UART zero of node
1 to port 8314. Sossrv then uses this port to communicate with the
simulated network. For more information take a look at:
----
java avrora/Main -help serial
----
Hope that helps!
-Roy
On Thu, Jul 05, 2007 at 11:27:47AM +0200, Phong Nguyen wrote:
> Hi all,
>
> I have seen that Avrora is able to use serial devices for input and
> output. So I would like to know if it possible to link a node to a
> device, during simulation, as a base node station, and then to use this
> device to read/send message from the PC, like the SerialForwarder, in
> tinyOS, will do when used in reality.
>
> I have this question because I would like to simulate Mantis
> application, but the mos_shell, similar to the sossrv in SOS or the
> SerialForwarder in tinyOS, can only be linked to a serial device.
>
> Thanks for any response..
> Phong
> _______________________________________________
> Avrora mailing list
> Avrora at lists.ucla.edu
> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
More information about the Avrora
mailing list