There is an FTPS implementation in tinyos-2.x-contrib/stanford-lgl.
Janos From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dheeraj Sent: Tuesday, April 22, 2008 1:20 PM To: [email protected] Subject: [Tinyos-help] Reg: TPSN Implementation code in T2 Hi, Did any one implemented TPSN in T2. If any one could forward working code of TPSN in T2 that would be great. I couldn't find the code in CVS forum. Thanks Dheeraj Reddy Bheemidi Electrical & computer Engineering Cleveland State University, cell: 216-501-1762 ----- Original Message ---- From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, April 22, 2008 12:23:03 PM Subject: Tinyos-help Digest, Vol 60, Issue 73 Send Tinyos-help mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Tinyos-help digest..." Today's Topics: 1. Re: some questions about deluge (jiwen zhang) 2. Re: some questions about deluge (jiwen zhang) 3. Re: Error compiling even simple programs (Philip Levis) 4. Re: How to do external SPI devices on MICAZ? (Philip Levis) 5. Re: the conflict in useing SPI port on micaz (Philip Levis) 6. Re: Collection: Loosing Connection to a Node (Philip Levis) 7. Re: TOSSIM (Philip Levis) ---------------------------------------------------------------------- Message: 1 Date: Tue, 22 Apr 2008 09:26:50 +0800 From: "jiwen zhang" <[EMAIL PROTECTED]> Subject: Re: [Tinyos-help] some questions about deluge To: "Chieh-Jan (Mike) Liang" <[EMAIL PROTECTED]> Cc: tinyos-help <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hello all : thank you very much for your reply . i have seen deluge-t2-manual.html , there is a word "In addition, it provides a quick test for software prerequisite. The latest TinyOS 2 CVS tree and Python 2.4 with pySerial support are recommended for running Deluge T2.". so i have update my tinyos tree to cvs version , but the tools installed are the same with tinyos2.02 except python, i update it to 2.4 . but when i typed 'python' in cygwin , i display that i still use the version 2.3.4 not 2.4 . what is wrong ? is there something i should set ? can you give me some cues about the tools if i want to use deluge rightly ? it's better give me a link to the tools so i can download it and the way how to set something . thank you !! 2008/4/22, Chieh-Jan (Mike) Liang <[EMAIL PROTECTED]>: > > Hi Jiwen, > > While porting Deluge to T2, Telosb and MicaZ were the two platforms that > we tested on. The original Deluge paper is at > http://portal.acm.org/citation.cfm?id=1031495.1031506. The manual for > Deluge T2 is at > http://www.tinyos.net/tinyos-2.x/doc/html/deluge-t2-manual.html. > > Mike > > On Mon, 21 Apr 2008, jiwen zhang wrote: > > Hello all : > > i want to use deluge in my project to realize the function of OTAP . > > now > > i am using tinyos2.x , and i know little about deluge before , it is a > > new > > thing to me , so i have some questions : > > 1. what are the platforms supported by deluge in tinyos2.x ? > > 2. is the deluge in developing ? is iris supported ? > > 3. is the deluge steady now ? are there some people using it in some > > projects ? how about the reliability? > > 4. if i want to learn the implemention of deluge , are there some paper > > of > > documents i can read ? > > > > thank you very much !! > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20 080422/53a7f676/attachment-0001.htm ------------------------------ Message: 2 Date: Tue, 22 Apr 2008 09:50:09 +0800 From: "jiwen zhang" <[EMAIL PROTECTED]> Subject: Re: [Tinyos-help] some questions about deluge To: "weiping SONG" <[EMAIL PROTECTED]> Cc: tinyos-help <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hello all : thank you very much for your reply . 1.mica2 and micaz use the same microprocessor and both of them use the same external flash at45db . i think the hardware platforms are the same to deluge . why only micaz is supported in tinyos 2.x ? 2. i use tinyos2.x cvs tree . is it the same as tinyos-2.x.git ? thank you !! 2008/4/21, weiping SONG <[EMAIL PROTECTED]>: > > jiwen zhang wrote: > > > Hello all : > > i want to use deluge in my project to realize the function of OTAP . > > now i am using tinyos2.x , and i know little about deluge before , it is a > > new thing to me , so i have some questions : > > 1. what are the platforms supported by deluge in tinyos2.x ? > > > Tmote Sky and MicaZ only > > > 2. is the deluge in developing ? is iris supported ? > > > > 3. is the deluge steady now ? are there some people using it in some > > projects ? how about the reliability? > > > It is not steady now and still in develop, but there seems no new > plan recently. I have installed deluge T2 in my testbed, it works fine > till now. But I use the latest Deluge from the following git repository: > http://hinrg.cs.jhu.edu/git/deluge/tinyos-2.x.git > http://hinrg.cs.jhu.edu/git/?p=deluge/tinyos-2.x.git(webgit) > Which is different from the version in Tinyos 2.0.2. > > > 4. if i want to learn the implemention of deluge , are there some paper > > of documents i can read ? > > thank you very much !! > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > I hope these info would be helpful! > > Weiping > -------------- next part -------------- An HTML attachment was scrubbed... URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20 080422/bce98ed4/attachment-0001.htm ------------------------------ Message: 3 Date: Mon, 21 Apr 2008 18:22:25 -0700 From: Philip Levis <[EMAIL PROTECTED]> Subject: Re: [Tinyos-help] Error compiling even simple programs To: Urs Hunkeler <[EMAIL PROTECTED]> Cc: TinyOS <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Apr 19, 2008, at 12:46 AM, Urs Hunkeler wrote: > Hi all, > > I think I updated my tinyos tree (T2) via CVS. Whatever happened, > tinyos > won't compile any programs anymore. Any ideas what might cause this > error? > > Cheers, > Urs > > nescc 1.2.9 > tinyos 2.x (cvs update from this morning) > mac os 10.5.2 (x86) > > Trying to compile the Blink application: > >>> make clean && make tmote > rm -rf build > rm -rf _TOSSIMmodule.so TOSSIM.pyc TOSSIM.py > mkdir -p build/telosb > compiling BlinkAppC to a telosb binary > ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow > -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= > -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_PROGRAM_NAME=\"BlinkAppC\" > -DIDENT_USER_ID=\"hunkeler\" -DIDENT_HOSTNAME=\"mymac\" > -DIDENT_USER_HASH=0x60220c52L -DIDENT_UNIX_TIME=0x4809a282L > -DIDENT_UID_HASH=0x9a0925bdL BlinkAppC.nc -lm > /opt/tinyos-2.x/tos/system/tos.h:21:47: > ../lib/safe/include/annots_stage1.h: No such file or directory So, this last line is what's causing the error. Did you update -d? Do you have lib/safe? Does this file exist? Phil ------------------------------ Message: 4 Date: Mon, 21 Apr 2008 18:17:06 -0700 From: Philip Levis <[EMAIL PROTECTED]> Subject: Re: [Tinyos-help] How to do external SPI devices on MICAZ? To: jiang chen <[EMAIL PROTECTED]> Cc: tinyos-help <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=GB2312; format=flowed; delsp=yes On Apr 20, 2008, at 10:26 PM, jiang chen wrote: > Deal Dr. Philip Levis, > > Reccently I am working on the MICAZ platform and I would like to > connect an additional hardware component (analog to > digital converter with SPI interface) with the MICAZ board by using > the 51 pin connector. > > I search on the web and know that someone ask you the similar > question about the possibility in tinyos to have several > external devices on the spi bus.You said "The SPI bus can have > multiple devices attached to MICAZ",and you also said > your group "have done this with external SPI devices, in particular > a storage board" > > The question and your previous answer are on http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-February/ 022801.html > > I meet the same question as the previous asker,and I want to know > your exact answer? > Is it possible to an additional hardware component share SPI port > with the radio chip cc2420 on MICAZ? Yes. > If the answer is yes ,which pins should I connect the external > device to MICAZ? The SPI pins (SCLK, MISO, MOSI) and a digital I/O pin for chip select. So, the same pins as the CC2420, except you need a separate chip select. > > Can you share your code and your circuit diagram with me ?or could > you tell me which web I can find my answer? > Uh -- I'll see if I can find it somewhere. Phil ------------------------------ Message: 5 Date: Mon, 21 Apr 2008 18:25:40 -0700 From: Philip Levis <[EMAIL PROTECTED]> Subject: Re: [Tinyos-help] the conflict in useing SPI port on micaz To: jiang chen <[EMAIL PROTECTED]> Cc: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Apr 19, 2008, at 10:08 PM, jiang chen wrote: > Thanks for your reply. > > currently I am working on the micaz's SPI port,I need to use the SPI > port to send data to a chip and receive data from the chip,then, > send the received data to PC wirelessly. > > But I found the wireless senging chip cc2420 also connect with > atmega128 through SPI,and I cannot make sure that the hardware allow > me to share SPI in different time. Why not use an SPI client? That way, software (through an arbiter) can make sure two peripherals don't try to use the bus at the same time. The CC2420 stack will only use the SPI when it needs it. > > So,I want to ask you ,it there a good way to solve the proplem? Yes. > Or,dose the cc2420 hold the SPI and we cannot use SPI to other way?? > No, the CC2420 releases the SPI when it does not need it. On Telos, for example, the SPI is also used for the flash chip. Phil ------------------------------ Message: 6 Date: Mon, 21 Apr 2008 18:32:47 -0700 From: Philip Levis <[EMAIL PROTECTED]> Subject: Re: [Tinyos-help] Collection: Loosing Connection to a Node To: Bulut ERSAVAS <[EMAIL PROTECTED]> Cc: [email protected], Omprakash Gnawali <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Apr 21, 2008, at 7:12 AM, Bulut ERSAVAS wrote: > Hi Omprakash, > > Concerning this issue, we have had chance to reproduce the problem. > I am attaching 3 files including beacons snooped from the network. > We believe that the problem is caused by nodes selecting parents who > had direct connection to the root in the past. When such parents are > moved away from the root, it looks like they don't remove root from > their neighborhood table and keep them as their parent. > > Here is our configuration: > > 0 (Root) <- 4 <- 3 <- [5] <- 2 <-1 > > All the nodes are pretty much in a line configuration. We initially > had only 4 nodes (1, 2, 3, 4) and 1 root in the network. Only 3 & 4 > were able to send data to root (0). We programmed #5 and placed it > between 3 & 2 to build a bridge between them. As we programmed 5 > next to the root, it selected the root as its parent. When we placed > 5 between 3 and 2, they selected it as their new parent thinking > that 5 had a good quality connection to root. 5 never removed root > from its neighbor table. Unfortunately, we lost connection to 3 as > well and only received data from 4 afterwards. Hope you can see the > situation from the log files. > > After waiting a few hours. We decided to remove the batteries of all > nodes except 4. We watched for network to correctly configure by > placing the battery on 3 first and then 5, 2, 1. See the logs in > "listen_log_2.txt". However, situation wasn't any better. > > Do you have any guesses or suggestions? When does a node remove an > old neighbor from its table? How should CTP avoid a situation like > this? CTP should definitely avoid a situation like this. In that, the implementation should, and it's a bug that it doesn't. In theory, what CTP should do is detect that the link to the root is dead (has very high ETX cost) and stop using it. E.g., 5 will detect that the link to 0 is bad, realize it doesn't have a route, send a beacon with the pull bit, and then hear 3 advertise its route, which won't be through 5 since 5 advertises no route. What would be *really* useful is a log from node 5.... but we'll see if we can piece things together from 0, 1, and 2. Phil ------------------------------ Message: 7 Date: Mon, 21 Apr 2008 18:33:57 -0700 From: Philip Levis <[EMAIL PROTECTED]> Subject: Re: [Tinyos-help] TOSSIM To: Ittipong Khemapech <[EMAIL PROTECTED]> Cc: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed On Apr 21, 2008, at 12:08 PM, Ittipong Khemapech wrote: > TOSSIM is simulator. The only platform it supports is PC. > > Ittipong No, that's in TinyOS 1.x. In TinyOS 2.x, TOSSIM is platform-specific. Phil ------------------------------ _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help End of Tinyos-help Digest, Vol 60, Issue 73 ******************************************* ________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62 sR8HDtDypao8Wcj9tAcJ%20>
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
