Thank you very much for your help.I solved my problem successfully by your
way.
在 2011年5月8日 下午10:05,jiasheng yao jiashengyao1...@gmail.com写道:
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
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
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