Dear Nikolas, Indeed I'm using
tinyos-1.x/tos/platform/pc/RadioCRCPacket.nc [ I figured it out without running the program: after adding a dbg() statement in this file I got a compilation error -- after all, it is a configuration file! ;) ] By non synchronized nodes I just mean that you may run the application without caring about clock synchronization. Indeed, since we want to avoid synchronization between the nodes we could add randomization in their source codes. But this is not necessary for our purposes... Best regards, Daniel On Thu, 2006-10-26 at 10:23 +0100, Nikolas wrote: > Dear Daniel, > > Okay I'll try that experiment out now. How do you turn off synchronization? > > You can put some dbg statements in the > tinyos-1.x/tos/platform/pc/RadioCRCPacket.nc > and grep the output to see if they get printed out. > > Warmest regards, > -- > Nikolas Pontikos. > > > On 26/10/06, Daniel S. Menasche <[EMAIL PROTECTED]> wrote: > > Dear Nikolas, > > > > I'm using tinyos-1.x and > > > > /nfs/copa/tmp1/tinyos-1.x/tos/platform/pc/external_comm.c > > > > > > If you try your experiment with 100 or more nodes and the nodes send > > messages every 5 seconds without synchronization I think you will get > > lots of CRC errors... > > > > How may I figure out if I'm using RadioCRCPacket.nc? > > > > Best regards, > > > > Daniel > > > > On Thu, 2006-10-26 at 09:56 +0100, Nikolas wrote: > > > Dear Daniel, > > > > > > Are you sure about this? I've just ran the simulation in tossim on a > > > 40 node network and I don't see "Failed CRC" come up at all. Is your > > > application using tos/platform/pc/RadioCRCPacket.nc? Also just to > > > confirm, we are both using tinyos-1.x here right? > > > > > > Kindest regards, > > > -- > > > Nikolas Pontikos. > > > > > > On 26/10/06, Daniel S. Menasche <[EMAIL PROTECTED]> wrote: > > > > Dear Nikolas, > > > > > > > > > > > > I haven't studied the source code of Tiny OS but I have a question which > > > > is just the complement of yours: could someone please guide me as to how > > > > get collision simulation NOT working in tossim? > > > > > > > > If you start an application with 100 or more nodes in tossim, you will > > > > notice that CRC errors will happen even if you use the "simple" model > > > > for the channel... the "lossy" model can be turned on by setting the > > > > option "-r=lossy" when you run main.exe. > > > > > > > > Best regards, > > > > > > > > Daniel > > > > > > > > > > > > > > > > On Thu, 2006-10-26 at 03:57 +0100, Nikolas wrote: > > > > > Hi, > > > > > > > > > > I'm using tossim for tinyos-1.x. From looking at the files in > > > > > tos/platform/pc, I've noticed that there's a file called packet_sim.c > > > > > which seems to simulate collisions by corrupting packets when > > > > > a packet is received at the same time one is transmitted. However I > > > > > haven't seen this code getting called. If you look at > > > > > tos/platform/pc/Nido.nc you will that RadioSendMsg.send calls > > > > > transmit_packet in packet_sim.c. > > > > > So what I've done so far is add a wiring Send=Nido.RadioSendMsg so > > > > > that transmit_packet gets called. I still haven't seen the collision > > > > > code in packet_sim.c get called and furthermore I have witness the > > > > > program crash with a segmentation fault so this probably not the way > > > > > to do it. > > > > > > > > > > So could someone please guide me as to how get collision simulation > > > > > working in tossim? > > > > > > > > > > Thank you for your time, > > > > > -- > > > > > Nikolas Pontikos. > > > > > _______________________________________________ > > > > > Tinyos-help mailing list > > > > > [email protected] > > > > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > > > > > > _______________________________________________ > > > Tinyos-help mailing list > > > [email protected] > > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
