[Tinyos-help] Fwd: Multihop Routing

2008-07-19 Thread Maria Taramigkou
-- Forwarded message --
From: Maria Taramigkou [EMAIL PROTECTED]
Date: 2008/7/18
Subject: Multihop Routing
To: tinyos-help@millennium.berkeley.edu


Hello!

I'm using telosb motes and tinyos-1.x. I want to implement routing for
Oscilloscope of moteiv application..Is it right to use  the MultihopLQI as
it is used in SurgeTelos?In SurgeTelos the mote with id=0 is loaded with
SurgeTelos app unlike my case that the node with id=0 is loaded with the
TOSBase app.How does this fact affect the routing implementation in my case?

Thank you very much!
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Send Messages From PC To Motes Via Serial Port Using Java

2008-07-19 Thread Michael Schippling
Serial forwarder just passes messages from the serial port
to a network port. You can configure the MOTECOM variable
for your application to go directly to the serial port,
just use the value you would use for SF.
MS


Miky Mike wrote:
 Thank you for the suggestions.
 I looked deeper at the application AntiTheft and i managed to do my own 
 application. I can now read messages sent by motes to the PC serial port 
 and show them in my java GUI.
 I was wondering if  there is a possibility of not using the 
 SerialForwarder  and still receive the messages in the format i sent, 
 example:
 typedef nx_struct mymessage {
   nx_uint8_t moteID;
 } mymessage;
 
 Michael
 
 On Wed, Jul 16, 2008 at 6:04 AM, Michael Schippling [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 Listen uses, I believe, PacketSource.readPacket() to get a message.
 There is a parallel PacketSource.writePacket(data) method which
 sends an appropriately formatted packet after doing magical
 protocol and crc transformations. Formatting the data
 is tricky, my code does it by brute force. The MIG message
 class generator may provide some utility in this respect
 but I tend to want to do things myself.
 
 In the T1 tools tree you can find
   java/net/tinyos/oscope/OscopeResetMsg.java
 which is the class for the Reset message I mentioned.
 It is used in
java/net/tinyos/oscope/GraphPanel.java
 which sounds like it should do GUI stuff but actually
 seems to do the real work of the O'scope program.
 
 MS
 
 
 
 Miky Mike wrote:
 
 Thank You for the reply.
 
 The Listen.java program reads packets from the serial port and
 prints those packets on the command line. I think i understand
 how that is done. Now i want to write my own packets to the
 serial port, and that's what i don't know how to do.
 I couldn't find the Reset message in O'scope as you said.
 Your example code seems to be a good way for me to learn. I have
 to spend more time trying to understand it.
 Again, thank you for the reply.
 
 Michael
 
 
 
 On Tue, Jul 15, 2008 at 6:18 PM, Michael Schippling
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
The Listen.java program does just about all that you need
vis setting up communications. There's the Reset message
in O'scope that shows how to send a message, but not very
clearly. My posted code has an example of a Java command
line program that sends and receives messages as well:
   http://www.etantdonnes.com/Motes/
 
MS
 
 
 
Miky Mike wrote:
 
Hello all,
I'm doing a project for my university where
 
 i'm using tinyos to program
 
micaz motes. I want to do a graphic user interface that
 allows
to send messages to the motes. I've chosen to program the
 GUI in
java but i don't know witch classes from tinyos i need to
 use to
communicate via serial port with the motes. Can anyone
 help me
with this?? I couldn't find any  examples.
I've tried to look at the application Oscilloscope but it
 didn't
helped much.
 
Thank You.
Michael
 
  
  
 
 
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
 mailto:Tinyos-help@millennium.berkeley.edu
mailto:Tinyos-help@millennium.berkeley.edu
 mailto:Tinyos-help@millennium.berkeley.edu
 
  
  
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 
 
 
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Serial Communication in TInyOS2

2008-07-19 Thread afuba edwin
Hi all,

I am new to TinyOS 2 and have trouble sending data packets to the pc through 
the serial port. The tutorial 
only mentions the SerialActiveMessageC Component but how is it used ?

Edwin



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Help Needed [Collisions]

2008-07-19 Thread Qasim Mansoor
Hello,
I am trying to see the behaviour of packets after collisions.I am sending
packets from two motes A and B at the same time by synchronizing them and
receiving them at third mote C[connected to PC via serial].I have also
disabled the CRC and CSMA but still i am unable to see any collided packets
at the receiver.
I have tried to increase the packet size but still there were no
collisions.The problem is that either i receive packets from mote A or i
receive packets from mote B.and when i am receiving packets from one mote
say A then packets from mote B are dropped [ i have added packet sequence
numbers for that] and then after some time packets from mote B are received
and packets from mote A are dropped.
I think that the mote having high signal strength is able to deliver packet
successfully to the receiver than the one having weak signal.I am using same
motes with same distance form the receiver but still no collisions.
If anyone has an idea that whats going wrong than please help.
Thanks in Advance
Regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Missing file in repository..

2008-07-19 Thread nisha jain
Hi All,

I am trying to install SPINE enviornment though i am getting problem due to
AmpPacketsConstants.h file it is missing from tinyos-2.0-x directory. From
where
i can get this file? I guess it is part of tinyos-2.x contrib repository and
it tried finding
it online.. Let me know if some one has any information about it..

Regards,
Nisha
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help