Looks like, as it is designed, you can't.... You could modify the interface to add a seed to init(), or an srand() method. The file tos/system/RandomLFSR.nc implements it and it would be a simple fix.
If you are going to update your TOS version to some other 1.x level you can put your new files in a local directory with your applications, and they will take precedence over the files in the release directories. MS jiasheng yao wrote: > Hello, > I'm writing to you because I want to find out how to set random seed for > tinyOS 1.x.I look at Random interface file, only the init function in it > , not with theparameters. So I do not how to set the seed and hope to > get your help.Thank you. > Best regards, > jsyao > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
