I think you are trying to connect two processes to one socket,
both the SerialForwarder and the RssiSampleMsg programs are
probably going directly to the network base-station. Try it
without the SF, or direct the RSM to connect to the SF. I
don't know the right syntax for the -comm in the latter case
but it should be easily findable in the SF doc.
MS
Hardik Mehta wrote:
hi,
i am trying to run and analyze the 'RSSISample' application in tinyos 2.0 :
I am following the steps given below :
1. Running Serial Forwarder in one terminal - now, the serial forwarder
starts running and shows the no. of packets being received.
The command I use is : $sf
2. Compile RssiSample application on micaz mote using the command :
/opt/tinyos-2.x-contrib/standford-sing/apps/RssiSample$ make micaz
install,1 eprb,192.168.0.2 <http://192.168.0.2>
This dumps the application on the mote.
3.Then, i run the application using the command :
$ java RssiSampleMsg -comm [EMAIL PROTECTED]:10002
<mailto:[EMAIL PROTECTED]:10002>
I receive the following error : [EMAIL PROTECTED]:10002
<mailto:[EMAIL PROTECTED]:10002> died - exiting
(java.net.ConnectonException : Connection refused)
and the serial forwarder stops counting the number of received packets
can anybody help me to solve this issue ?
Thanks in advance
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help