.Bold { font-weight: bold; }
.Title { font-weight: bold; font-size: 18px; color: #cc3300; }
.Code { border: #8b4513 1px solid; padding-right: 5px; padding-left: 5px;color:
#000066; font-family: 'Courier New' , Monospace;background-color: #ff9933; }
Hello!I'm doing test about Surge route. But, I did generate segmentation
error.[StdControl.init() of MintRoute or Route]
command result_t StdControl.init() {
memset((void *)NeighborTbl,0,(sizeof(TableEntry) * ROUTE_TABLE_SIZE));
BaseStation.id = TOS_UART_ADDR; BaseStation.parent = TOS_UART_ADDR;
BaseStation.flags = NBRFLAG_VALID; BaseStation.hop = 0; gpCurrentParent =
NULL; gbCurrentHopCount = ROUTE_INVALID; gCurrentSeqNo = 0; gwEstTicks
= 0; gUpdateInterval = DATA_TO_ROUTE_RATIO * DATA_FREQ; gfSendRouteBusy =
FALSE; gSelfTimer = TRUE; switch (TOS_LOCAL_ADDRESS) { case 0: //
Parent of mote 0 is the UARTid = TOS_UART_ADDR; break;
case 1: // Parent of mote 1 is mote 0id = 0x0000; break;
case 2: // Parent of mote 2 is mote 1id = 0x0001; break;
case 3: // Parent of mote 3 is mote 2id = 0x0002; break;
default : break; } call ByteControl.init();
return SUCCESS; }id = xxx.However, when it is sended surge message, it
generate segmetation fault.I want to know why it is doing like above.Help me,
or give me some idea for fixing static routing.Thank you..
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help