Sorry, I don't know about Tinysec, maybe someone else? MS
trilok i wrote: > Thank you micheal, Now it is working and i'm using /tools/src/listen for > capturing raw packets.But I have one more doubt ,I was working with > TinySec and it is designed for mica,mica2 motes so I downloaded TinySec > for micaz from the site Cambridge University and working with that for > micaz motes. But when I sent the packets the TinySec bit in Packets is > not enabled. I also Set TINYSEC=true and GOALS += tinysec in Makefile. > > These are the raw packets which I captured using /tools/src/listen. > These packets are captured without setting TINYSEC bit > > 8f ba 4d 13 e8 32 e6 8f be 4d 13 85 ec ff e5 8f be 4d 13 e3 fc ff ff 8f be > 4d 13 e2 fc ff ec 8f be 4d 13 e2 ec ff dc 8f be 4d 13 85 fc ff f2 8f bf > 4d 13 > e8 04 ff 8f be 4d 13 e8 3a 8d 8f be 4d 13 e8 32 ac > 7e 42 ff ff ff ff 11 7d 5d *0c* 03 00 03 00 4f 00 ff ff 00 9e 02 ff ff > ff ff ce e7 7e > 7e 42 ff ff ff ff 11 7d 5d *0c* 03 00 03 00 50 00 ff ff 00 b5 02 ff ff > ff ff e9 2a 7e > 7e 42 ff ff ff ff 11 7d 5d 0c 03 00 03 00 51 00 ff ff 00 a9 02 ff ff ff > ff af 39 7e > 7e 42 ff ff ff ff 11 7d 5d 0c 03 00 03 00 52 00 ff ff 00 9d 02 ff ff ff > ff c2 17 7e > 7e 42 ff ff ff ff 11 7d 5d 0c 03 00 03 00 53 00 ff ff 00 a1 02 ff ff ff > ff ca 33 7e > 7e 42 ff ff ff ff 11 7d 5d 0c 03 00 03 00 54 00 ff ff 00 a0 02 ff ff ff > ff 66 82 7e > 7e 42 ff ff ff ff 11 7d 5d 0c 03 00 03 00 55 00 ff ff 00 9f 02 ff ff ff > ff b2 3d 7e > 7e 42 ff ff ff ff fa 7d 5d 0a 03 00 03 00 56 00 ff ff ff ff 00 00 39 44 7e > > These packets are captured after setting TINYSEC bit to TRUE > > 8f be 45 11 e2 cc ff e2 > 7e 42 ff ff ff ff 11 7d 5d *0c* 01 00 01 00 5b 00 ff ff 00 03 03 ff ff > ff ff 5e c5 7e > 7e 42 ff ff ff ff 11 7d 5d *0c* 01 00 01 00 5c 00 ff ff 00 f5 02 ff ff > ff ff a2 8d 7e > 7e 42 ff ff ff ff 11 7d 5d 0c 01 00 01 00 5d 00 ff ff 00 e9 02 ff ff ff > ff e4 9e 7e > 7e 42 ff ff ff ff 11 7d 5d 0c 01 00 01 00 5e 00 ff ff 00 e9 02 ff ff ff > ff 91 56 7e > 7e 42 ff ff ff ff 11 7d 5d 0c 01 00 01 00 5f 00 ff ff 00 04 03 ff ff ff > ff 1e 9b 7e > 7e 42 ff ff ff ff fa 7d 5d 0a 01 00 01 00 60 00 ff ff ff ff 00 00 78 b7 7e > > And I think *OC* is the length field of TOS_Msg and I'm using SURGE > application. In either cases it is showing OC only. My doubt is where > can I find TINYSEC bit enabled and how to analyse the packet. > > THANK YOU. > > > > Date: Wed, 17 Jun 2009 09:53:15 -0600 > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > Subject: Re: [Tinyos-help] need help in installing java comm api > > > > It needs to be in JRE/lib > > Probably the one under the JDK directory you show, > > but you need to verify what jre you use when you run. > > CLASSPATH has nothing to do with finding the jre properties. > > > > Also make sure you have installed a Linux javax.comm version. > > > > MS > > > > > > trilok i wrote: > > > sir i was working in LinuxOS and I have javax.comm.properties file in > > > /opt/jdk1.6.0_10/lib/ aslo I set classpath , but still it is throwing > > > errors. > > > > > > Thank You > > > > > > > Date: Tue, 16 Jun 2009 10:24:49 -0600 > > > > From: [email protected] > > > > To: [email protected] > > > > CC: [email protected] > > > > Subject: Re: [Tinyos-help] need help in installing java comm api > > > > > > > > You should have gotten a properties file in your JRE when you > > > > did the comm install, like this: > > > > C:\JAVA\jdk1.5.0_16\jre\lib\javax.comm.properties > > > > > > > > If you don't have that -- in the right JRE, GOK which JRE things > > > > will be installed to -- you can copy it out of: > > > > http://www.etantdonnes.com/TMP/javacomm20-win32.zip > > > > > > > > MS > > > > > > > > trilok i wrote: > > > > > please help me, > > > > > I have installed java in /opt/tinyOS-1.x/ but when I run the > command ' > > > > > java net.tinyos.tools.Listen ' it throws following error > > > > > > > > > > javax.comm: Error loading javax.comm.properties! > > > > > null > > > > > > > > > > java.io.IOException: javax.comm: platform driver class name = null > > > > > (Check 'driver' property in javax.comm.properties) > > > > > > > > > > at > > > javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:244) > > > > > at > javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109) > > > > > at > > > > > > > > > net.tinyos.packet.SerialByteSource.openStreams(SerialByteSource.java:59) > > > > > at > net.tinyos.packet.StreamByteSource.open(StreamByteSource.java:51) > > > > > at net.tinyos.packet.Packetizer.openSource(Packetizer.java:119) > > > > > at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77) > > > > > at net.tinyos.packet.Packetizer.open(Packetizer.java:114) > > > > > at net.tinyos.tools.Listen.main(Listen.java:54) > > > > > Exception in thread "main" java.lang.UnsatisfiedLinkError: > > > > > com.sun.comm.SunrayInfo.isSessionActive()Z > > > > > at com.sun.comm.SunrayInfo.isSessionActive(Native Method) > > > > > at com.sun.comm.Portmapping.registerCommPorts(Portmapping.java:155) > > > > > at > com.sun.comm.Portmapping.refreshPortDatabase(Portmapping.java:100) > > > > > at > javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138) > > > > > at > > > > > > > > > net.tinyos.packet.SerialByteSource.openStreams(SerialByteSource.java:59) > > > > > at > net.tinyos.packet.StreamByteSource.open(StreamByteSource.java:51) > > > > > at net.tinyos.packet.Packetizer.openSource(Packetizer.java:119) > > > > > at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77) > > > > > at net.tinyos.packet.Packetizer.open(Packetizer.java:114) > > > > > at net.tinyos.tools.Listen.main(Listen.java:54) > > > > > > > > > > Thanks. > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > Videos Get the latest video streams on movies, Try it! > > > > > <http://video.msn.com/?mkt=en-in> > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > _______________________________________________ > > > > > Tinyos-help mailing list > > > > > [email protected] > > > > > > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > > ------------------------------------------------------------------------ > > > MSN Battles We pitch one stalwart against the other and give you the > > > power. Who will you vote for? Share photos while you chat with Windows > > > Live Messenger. <http://battles.in.msn.com/> > > ------------------------------------------------------------------------ > Videos Get the latest video streams on movies, Try it! > <http://video.msn.com/?mkt=en-in> _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
