[Tinyos] How to use TinyAODV on tmote sky

SHIH YUAN kytodo72 at yahoo.com.tw
Mon Apr 14 08:13:11 PDT 2008


Hi all ,
I am trying to work the TinyAODV  version in
/opt/tinyos-1.x/contrib/hsn folder on  tmote sky.
Although the TinyAODV version is used on mica
originally, I want to modify the code.
Anybody know how to modify the code?
Or anybody has any aodv code which can use on tmote
sky.

I use tinyos-1.x version and have been installed
Moteiv's tool.

Currently My modified step as follows:
1. Key in "make tmote" in
/opt/tinyos-1.x/contrib/hsn/apps/TraceRouteTestAODV

2. Occur a error "In component ClockC.nc:51:component
HPLClock not found". 
SO,I delete component ClockC in
PromiscuousCommNoUART.nc(Because component ClockC seem
uselessly). 

3.Because PromiscuousCommNoUART.nc doesn't use
component InjectMsg, I delete component InjectMsg in
PromiscuousCommNoUART.nc.

4.In PromiscuousCommNoUART.nc
Change "AM.RadioControl -> RadioPacket.Control;" 
to"AM.RadioControl -> RadioPacket.StdControl;"

5.Key in "make tmote" again, occur a error below.

In component `NoCRCPacket':
../../../../tos/system/NoCRCPacket.nc: In function
`receiveTask.runTask':
../../../../tos/system/NoCRCPacket.nc:327:
Receive.receive not connected
make: *** [exe0] Error 1

Now,I don't know how to solve the error.
Please help me,thanks.


      ______________________________________________________________________________________________________
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing


More information about the Tinyos mailing list