HI! On Tue, Sep 25, 2012 at 5:38 AM, mamta_b <[email protected]> wrote: > > hi, > > 1) As given in TEP125 that T-Frames is for networks which don't share their > channel with other wireless architectures, By default, TinyOS 802.15.4 > stacks use I-Frames.. so to use TFRAMES_ENABLED what comments do I need to > write in my application's makefile?
You can enable tinyos frames by adding this to your makefile CFLAGS=-DTFRAMES_ENABLED But you do not want this. If you enable tinyos frames, then ONLY tinyos frames will be received and transmitted. You want IFRAMES_ENABLE (it could be called something different) to force the stack to remove tinyos support. Very bad naming of constants of course. > > 2) In RF230IeeeMessageC there is written in line 27 that "You cannot use > Ieee154MessageC with TFRAMES_ENABLED defined". what does that mean? If you enable TFRAMES_ENABLED, then only ActiveMessageC is supported. If you enable IFRAMES_ENABLED, then only IEEE frames are supported. If you do not enable anything, then both are supported (with added code). > 3) which extra header files do I need to include in my application's module > file? Nothing. > 4) If an application is using Receive interface as snoop, what to do with > that because in RF230Ieee154MessageC there is no wiring component such as > Receive as snoop like in RF230ActiveMessageC. Well, snoop is not implemented, but you might be able to implement it by yourself and modify the driver. Miklos > > thanks. > > > Miklos Maroti wrote: >> >> Hi! >> >> On Mon, Sep 24, 2012 at 12:09 AM, mamta_b <[email protected]> >> wrote: >>> >>> hi, >>> >>> you mean we can use RF230Ieee154MessageC configuration file instead of >>> RF230ActiveMessageC ? and interfaces Ieee154Send, Ieee154Packet instead >>> of >>> AMSend[am_id_t id], AMPacket etc. present in tos\platforms\iris and >>> tos\chips\rf2xx\rf230. >> >> Yes. No changes are necessary, just use the RF230Ieee154MessageC >> component and the provided interfaces. >> >>> so can you tell me how to use and where to wire these >>> interfaces? Actually i am not understanding where to make changes if we >>> want >>> ieee 802.15.4 mac? >> >> You have to implement any Ieee 802.15.4 logic on top of >> RF230Ieee154MessageC, but that might not be very efficient because of >> delays in the RF230Ieee154MessageC components. To do anything serious, >> you need to understand how the rf230 (or rfxlink) stack is built up. >> Look at RF230RadioC, and understand what is going on there. >> >> Miklos >> >>> thanks. >>> >>> >>> Miklos Maroti wrote: >>>> >>>> Hi! >>>> >>>> You can use all rfxlink radios (rf230 included) to send IEEE 800.15.4 >>>> frames with short addresses. Basically, it just another packet format >>>> but underneath it is still the same tinyos specific timing/low power >>>> listening mac. You can turn off LPL and packet link, then it will be a >>>> single shot message send or broadcast, but if the channel is very busy >>>> then the backup time is not the same as in the standard. However, I >>>> believe that you will be able to communicate with legacy devices if >>>> they also use the short address format. Of course no beacon mode or >>>> device discovery is implemented. >>>> >>>> Miklos >>>> >>>> On Wed, Sep 19, 2012 at 11:58 PM, mamta_b <[email protected]> >>>> wrote: >>>>> >>>>> hi Janos, as we know that TKN154 supports only cc2420 transceivers but >>>>> in >>>>> tos/lib/rfxlink/layers i have seen some files named >>>>> Ieee154Messagelayer, >>>>> Ieee154Packetlayer and in tos/chips/rf230/layers too same named files. >>>>> so >>>>> can we change the default MAC in rf230 to IEEE 802.15.4 MAC by using >>>>> these >>>>> files. >>>>> thanks. >>>>> >>>>> >>>>> Janos Sallai wrote: >>>>>> >>>>>> The default mac for the rf230 is in tos/chips/rf230. It uses the >>>>>> rfxlink library, which is in tos/lib/rfxlink. >>>>>> >>>>>> Janos >>>>>> >>>>>> On Wed, Sep 19, 2012 at 6:21 AM, mamta_b <[email protected]> >>>>>> wrote: >>>>>>> >>>>>>> hi, >>>>>>> please help me in finding the default MAC protocol in tinyos. i am >>>>>>> using >>>>>>> iris and micaz motes. i read somewhere that if no specific MAC is >>>>>>> used >>>>>>> then >>>>>>> default CSMA/CA method is used.. i don't know how to sort this. >>>>>>> and if we are using IEEE 802.15.4 standard MAC protocol then how can >>>>>>> we >>>>>>> choose between the two methods i.e csma/ca or gts(guaranteed time >>>>>>> slot)? >>>>>>> I >>>>>>> want to use IEEE 802.15.4 MAC and PHY layers therefore i need to know >>>>>>> which >>>>>>> MAC i am using. >>>>>>> thanks. >>>>>>> -- >>>>>>> View this message in context: >>>>>>> http://old.nabble.com/please-help-me-in-finding-the-default-MAC-protocol-in-tinyos-for-cc2420-and-rf230-transceivers.-tp34451980p34451980.html >>>>>>> Sent from the TinyOS - Help mailing list archive at Nabble.com. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>> >>>>>> >>>>> -- >>>>> View this message in context: >>>>> http://old.nabble.com/please-help-me-in-finding-the-default-MAC-protocol-in-tinyos-for-cc2420-and-rf230-transceivers.-tp34451980p34455844.html >>>>> Sent from the TinyOS - Help mailing list archive at Nabble.com. >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >>> -- >>> View this message in context: >>> http://old.nabble.com/please-help-me-in-finding-the-default-MAC-protocol-in-tinyos-for-cc2420-and-rf230-transceivers.-tp34451980p34470747.html >>> Sent from the TinyOS - Help mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> 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 >> >> > -- > View this message in context: > http://old.nabble.com/please-help-me-in-finding-the-default-MAC-protocol-in-tinyos-for-cc2420-and-rf230-transceivers.-tp34451980p34476713.html > Sent from the TinyOS - Help mailing list archive at Nabble.com. > > _______________________________________________ > 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
