I don't remember about tinyos-1, but the basic idea is that you use an
interface for sending data (SendMsg) and another for receiving
(ReceiveMsg), and using the same instances of them in both
configurations (if you're going to create different components). Then
you create a module to implement the events of reception and to send
data as you need.



2007/7/4, Hossam El-Din Hassanein <[EMAIL PROTECTED]>:
Thanx Bernardo for your reply ,
 But my doubts are as follows I tried to combining between CntToLedsAndRfm
and RfmToLeds  but got lots of errors , these were the 2 components i used
in order to establish communication between 2 motes . But in this case one
mote will act as a transmitter( one with CntToLedsAndRfm) the other will act
as a receiver( one with RfmToLeds) . I need for both to act as transceivers
in order to have data exchange between them . I need to know how could I
reach that code-wise and what components should I use to reach my goal.


On 7/4/07, Bernardo Avila Pires <[EMAIL PROTECTED]> wrote:
> Usually CntToLedsAndRfm does the job to help creating the component.
> You should first be able to establish radio communication from one
> mote to another, the fuse the configurations and implementations and
> something good should come out of it. The tutorials aid a lot as well;
> if you post specific doubts, I could try to give more specific help.
>
> 2007/7/4, Hossam El-Din Hassanein <[EMAIL PROTECTED]>:
> > Hello there ,
> >
> >     I am using a mica2 mote and facing a problem at some points . One of
> > these points can be described as follows:
> >  I need for the mote to act as a receiver and a transmitter of data at
the
> > same time . I tried to refer to some modules that are ready like
> > CntToLedsAndRfm and RfmToLeds and tried to create a module that links
the
> > functionalities of both modules but failed . Could anyone please help me
> > with this problem as soon as possible .
> >
> >  Kindest Regards,
> >  Hossam
> >
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> >
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
> --
> "The truth shall set you free"
> <a href="http://www.nerdtests.com/nq_ref.html ">
> <img
src="http://www.nerdtests.com/images/badge/dc875a1ab1aff18f.gif";
> alt="I am nerdier than 99% of all people. Are you a nerd? Click here
> to find out!"></a>
>



--
Kindest Regards,
Hossam


Hossam El-Din Hassanein
Student - Networking Dept.
Faculty of Information Engineering and Technology
The German University in Cairo - GUC
[EMAIL PROTECTED]
[EMAIL PROTECTED]
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



--
"The truth shall set you free"
<a href="http://www.nerdtests.com/nq_ref.html";>
<img src="http://www.nerdtests.com/images/badge/dc875a1ab1aff18f.gif";
alt="I am nerdier than 99% of all people. Are you a nerd? Click here
to find out!"></a>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to