[Tinyos-help] routing getParent()

=?EUC-KR?B?waSw/Mjx?= masigani at gmail.com
Mon Jul 9 07:53:46 PDT 2007


Hello all!

I'm testing multihop routing.
So, I modified the part of RouteControl.getParent() to set up
gpCurrentParent->id.

So, I wrote switch() below add= ~ line.

command uint16_t RouteControl.getParent(){
    --
    addr = ( ~~~~~~ blablabla);

    switch( TOS_LOCAL_ADDRESS){
          call ByteComm.txByte(0x01);

           -blablabla......
    }
}

However, I cant see 0x01 using txByte when I execute Surge program.
I think whenever it pass switch structrue.

Help me..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070709/3e70fa18/attachment-0001.htm


More information about the Tinyos-help mailing list