Hi,
I have been trying to run a clustering protocol in tinyos2. I have written
some code for some part of the protocol. But whenever I run the code on
TOSSIM, it runs for a few events and then a Segmentation fault is flagged
and simulation stops abruptly.

I tried removing the noise model part(i.e. commenting out the following in
python script):
      ------code begins------
   for i in range(0,numNodes):
      print "Creating noise model for ",i;
      t.getNode(i).createNoiseModel()
      ------code ends--------
then the code runs and terminates smoothly but it is of not much use as
none of the sent messages are received.

I really need to simulate the protocol. Any suggestions would be greatly
appreciated.

--
Regards,
Harshal A. Waghmare,
IIT Kanpur


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to