[Avrora] Question about serial devices
roy at cs.hmc.edu
Thu Jul 5 10:33:44 PDT 2007
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
java -server avrora/Main -banner=false -colors=true -platform=mica2 \
-simulation=sensor-network -monitors=serial,real-time \
-nodecount=2 -update-node-id=true -sections=.data,.text,.sos_bls \
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!
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..
> Avrora mailing list
> Avrora at lists.ucla.edu
More information about the Avrora