nbrTable_30.h~
上传用户:joranyuan
上传日期:2022-06-23
资源大小:3306k
文件大小:34k
- if(TOS_LOCAL_ADDRESS == 1) {
- ownSlot = 2;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 3;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 4;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 2;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 1;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 38;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 9;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 22;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 13;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 0;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 8;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 21;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 12;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 20;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 1;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 36;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 11;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 34;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 6;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- } else if(TOS_LOCAL_ADDRESS == 5) {
- ownSlot = 0;
- localFrameLength = 4;
- nbrInfo[0].nodeID = 18;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 4;
- nbrInfo[0].slot = 3;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- } else if(TOS_LOCAL_ADDRESS == 6) {
- ownSlot = 2;
- localFrameLength = 4;
- nbrInfo[0].nodeID = 16;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 4;
- nbrInfo[0].slot = 1;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- } else if(TOS_LOCAL_ADDRESS == 2) {
- ownSlot = 1;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 21;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 12;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 9;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 0;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 0;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 8;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 22;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 13;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 24;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 10;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 10;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 14;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 1;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 2;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 36;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 11;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 13;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 0;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- } else if(TOS_LOCAL_ADDRESS == 3) {
- ownSlot = 4;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 22;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 13;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 24;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 10;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 36;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 11;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 1;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 2;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 35;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 10;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 13;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 0;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 9;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 0;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- } else if(TOS_LOCAL_ADDRESS == 4) {
- ownSlot = 3;
- localFrameLength = 4;
- else if(TOS_LOCAL_ADDRESS == 8) {
- ownSlot = 0;
- localFrameLength = 8;
- nbrInfo[0].nodeID = 27;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 4;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 28;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 5;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- } else if(TOS_LOCAL_ADDRESS == 9) {
- ownSlot = 0;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 2;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 1;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 38;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 9;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 28;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 5;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 22;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 13;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 0;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 8;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 21;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 12;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 36;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 11;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 27;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 4;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 39;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 3;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- } else if(TOS_LOCAL_ADDRESS == 7) {
- ownSlot = 0;
- localFrameLength = 1;
- else if(TOS_LOCAL_ADDRESS == 11) {
- ownSlot = 5;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 0;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 8;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 22;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 13;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 15;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 2;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 17;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 4;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 38;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 9;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 31;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 3;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 32;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 1;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 34;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 6;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 21;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 12;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- } else if(TOS_LOCAL_ADDRESS == 10) {
- ownSlot = 14;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 2;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 1;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 21;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 12;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 0;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 8;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 38;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 9;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 28;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 5;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 33;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 7;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 22;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 13;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 36;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 11;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 27;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 4;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- } else if(TOS_LOCAL_ADDRESS == 13) {
- ownSlot = 0;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 0;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 8;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 22;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 13;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 15;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 2;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 17;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 4;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 31;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 3;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 32;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 1;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 34;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 6;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 21;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 12;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 3;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 4;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- nbrInfo[9].nodeID = 33;
- nbrInfo[9].bitMap = TWO_HOP;
- nbrInfo[9].frame = 16;
- nbrInfo[9].slot = 7;
- Blacklist(nbrInfo[9].slot, nbrInfo[9].frame);
- nbrInfo[10].nodeID = 39;
- nbrInfo[10].bitMap = TWO_HOP;
- nbrInfo[10].frame = 16;
- nbrInfo[10].slot = 3;
- Blacklist(nbrInfo[10].slot, nbrInfo[10].frame);
- nbrInfo[11].nodeID = 2;
- nbrInfo[11].bitMap = TWO_HOP;
- nbrInfo[11].frame = 16;
- nbrInfo[11].slot = 1;
- Blacklist(nbrInfo[11].slot, nbrInfo[11].frame);
- } else if(TOS_LOCAL_ADDRESS == 15) {
- ownSlot = 2;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 36;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 11;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 11;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 5;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 0;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 8;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 22;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 13;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 13;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 0;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 21;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 12;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- } else if(TOS_LOCAL_ADDRESS == 18) {
- ownSlot = 3;
- localFrameLength = 4;
- nbrInfo[0].nodeID = 14;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 4;
- nbrInfo[0].slot = 1;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 5;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 4;
- nbrInfo[1].slot = 0;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- } else if(TOS_LOCAL_ADDRESS == 17) {
- ownSlot = 4;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 13;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 0;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 38;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 9;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 22;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 13;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 11;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 5;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 35;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 10;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 0;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 8;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 34;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 6;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- } else if(TOS_LOCAL_ADDRESS == 20) {
- ownSlot = 1;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 1;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 2;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 24;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 10;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- } else if(TOS_LOCAL_ADDRESS == 14) {
- ownSlot = 1;
- localFrameLength = 4;
- nbrInfo[0].nodeID = 18;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 4;
- nbrInfo[0].slot = 3;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- } else if(TOS_LOCAL_ADDRESS == 12) {
- ownSlot = 0;
- localFrameLength = 1;
- else if(TOS_LOCAL_ADDRESS == 16) {
- ownSlot = 1;
- localFrameLength = 4;
- nbrInfo[0].nodeID = 6;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 4;
- nbrInfo[0].slot = 2;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- } else if(TOS_LOCAL_ADDRESS == 19) {
- ownSlot = 2;
- localFrameLength = 4;
- else if(TOS_LOCAL_ADDRESS == 25) {
- ownSlot = 0;
- localFrameLength = 1;
- else if(TOS_LOCAL_ADDRESS == 27) {
- ownSlot = 4;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 10;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 14;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 33;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 7;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 39;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 3;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 9;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 0;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 24;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 10;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- } else if(TOS_LOCAL_ADDRESS == 22) {
- ownSlot = 13;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 3;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 4;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 17;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 4;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 11;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 5;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 9;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 0;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 24;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 10;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 39;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 3;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 32;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 1;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 10;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 14;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 1;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 2;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- nbrInfo[9].nodeID = 15;
- nbrInfo[9].bitMap = TWO_HOP;
- nbrInfo[9].frame = 16;
- nbrInfo[9].slot = 2;
- Blacklist(nbrInfo[9].slot, nbrInfo[9].frame);
- nbrInfo[10].nodeID = 31;
- nbrInfo[10].bitMap = TWO_HOP;
- nbrInfo[10].frame = 16;
- nbrInfo[10].slot = 3;
- Blacklist(nbrInfo[10].slot, nbrInfo[10].frame);
- nbrInfo[11].nodeID = 13;
- nbrInfo[11].bitMap = TWO_HOP;
- nbrInfo[11].frame = 16;
- nbrInfo[11].slot = 0;
- Blacklist(nbrInfo[11].slot, nbrInfo[11].frame);
- nbrInfo[12].nodeID = 2;
- nbrInfo[12].bitMap = TWO_HOP;
- nbrInfo[12].frame = 16;
- nbrInfo[12].slot = 1;
- Blacklist(nbrInfo[12].slot, nbrInfo[12].frame);
- } else if(TOS_LOCAL_ADDRESS == 21) {
- ownSlot = 12;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 36;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 11;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 2;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 1;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 9;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 0;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 24;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 10;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 39;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 3;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 10;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 14;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 1;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 2;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 13;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 0;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 11;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 5;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- nbrInfo[9].nodeID = 15;
- nbrInfo[9].bitMap = TWO_HOP;
- nbrInfo[9].frame = 16;
- nbrInfo[9].slot = 2;
- Blacklist(nbrInfo[9].slot, nbrInfo[9].frame);
- nbrInfo[10].nodeID = 31;
- nbrInfo[10].bitMap = TWO_HOP;
- nbrInfo[10].frame = 16;
- nbrInfo[10].slot = 3;
- Blacklist(nbrInfo[10].slot, nbrInfo[10].frame);
- nbrInfo[11].nodeID = 32;
- nbrInfo[11].bitMap = TWO_HOP;
- nbrInfo[11].frame = 16;
- nbrInfo[11].slot = 1;
- Blacklist(nbrInfo[11].slot, nbrInfo[11].frame);
- } else if(TOS_LOCAL_ADDRESS == 26) {
- ownSlot = 0;
- localFrameLength = 4;
- else if(TOS_LOCAL_ADDRESS == 24) {
- ownSlot = 10;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 2;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 1;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 38;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 9;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 3;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 4;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 22;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 13;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 39;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 3;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 0;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 8;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 21;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 12;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 36;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 11;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 20;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 1;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- nbrInfo[9].nodeID = 27;
- nbrInfo[9].bitMap = TWO_HOP;
- nbrInfo[9].frame = 16;
- nbrInfo[9].slot = 4;
- Blacklist(nbrInfo[9].slot, nbrInfo[9].frame);
- } else if(TOS_LOCAL_ADDRESS == 28) {
- ownSlot = 5;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 10;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 14;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 9;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 0;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 33;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 7;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 34;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 6;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 39;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 3;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 8;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 8;
- nbrInfo[5].slot = 0;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- } else if(TOS_LOCAL_ADDRESS == 29) {
- ownSlot = 1;
- localFrameLength = 2;
- else if(TOS_LOCAL_ADDRESS == 30) {
- ownSlot = 0;
- localFrameLength = 2;
- else if(TOS_LOCAL_ADDRESS == 34) {
- ownSlot = 6;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 1;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 2;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 28;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 5;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 35;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 10;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 17;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 4;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 13;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 0;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 11;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 5;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 32;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 1;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 31;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 3;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- } else if(TOS_LOCAL_ADDRESS == 35) {
- ownSlot = 10;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 17;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 4;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 34;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 6;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 38;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 9;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 3;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 4;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 33;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 7;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- } else if(TOS_LOCAL_ADDRESS == 36) {
- ownSlot = 11;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 21;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 12;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 15;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 2;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 3;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 4;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 2;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 1;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 9;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 0;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 24;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 10;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 39;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 3;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 33;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 7;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 10;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 14;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- } else if(TOS_LOCAL_ADDRESS == 32) {
- ownSlot = 1;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 11;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 5;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 0;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 8;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 22;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 13;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 13;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 0;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 38;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 9;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 34;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 6;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 21;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 12;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- } else if(TOS_LOCAL_ADDRESS == 0) {
- ownSlot = 8;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 9;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 0;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 17;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 4;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 13;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 0;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 24;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 10;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 1;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 2;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 11;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 5;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 32;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 1;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 15;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 2;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 31;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 3;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- nbrInfo[9].nodeID = 2;
- nbrInfo[9].bitMap = TWO_HOP;
- nbrInfo[9].frame = 16;
- nbrInfo[9].slot = 1;
- Blacklist(nbrInfo[9].slot, nbrInfo[9].frame);
- nbrInfo[10].nodeID = 10;
- nbrInfo[10].bitMap = TWO_HOP;
- nbrInfo[10].frame = 16;
- nbrInfo[10].slot = 14;
- Blacklist(nbrInfo[10].slot, nbrInfo[10].frame);
- nbrInfo[11].nodeID = 39;
- nbrInfo[11].bitMap = TWO_HOP;
- nbrInfo[11].frame = 16;
- nbrInfo[11].slot = 3;
- Blacklist(nbrInfo[11].slot, nbrInfo[11].frame);
- } else if(TOS_LOCAL_ADDRESS == 39) {
- ownSlot = 3;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 21;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 12;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 9;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 0;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 22;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 13;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 24;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 10;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 28;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 5;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 36;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 11;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 13;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 0;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 27;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 4;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 0;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 8;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- } else if(TOS_LOCAL_ADDRESS == 33) {
- ownSlot = 7;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 10;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 14;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 28;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 5;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 36;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 11;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 35;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 10;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 13;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 0;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 27;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 4;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- } else if(TOS_LOCAL_ADDRESS == 38) {
- ownSlot = 9;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 11;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 5;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 35;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 10;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 9;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 0;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 17;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 4;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 24;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 10;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 32;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 1;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 1;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 2;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- nbrInfo[7].nodeID = 31;
- nbrInfo[7].bitMap = TWO_HOP;
- nbrInfo[7].frame = 16;
- nbrInfo[7].slot = 3;
- Blacklist(nbrInfo[7].slot, nbrInfo[7].frame);
- nbrInfo[8].nodeID = 10;
- nbrInfo[8].bitMap = TWO_HOP;
- nbrInfo[8].frame = 16;
- nbrInfo[8].slot = 14;
- Blacklist(nbrInfo[8].slot, nbrInfo[8].frame);
- } else if(TOS_LOCAL_ADDRESS == 31) {
- ownSlot = 3;
- localFrameLength = 16;
- nbrInfo[0].nodeID = 11;
- nbrInfo[0].bitMap = TWO_HOP;
- nbrInfo[0].frame = 16;
- nbrInfo[0].slot = 5;
- Blacklist(nbrInfo[0].slot, nbrInfo[0].frame);
- nbrInfo[1].nodeID = 0;
- nbrInfo[1].bitMap = TWO_HOP;
- nbrInfo[1].frame = 16;
- nbrInfo[1].slot = 8;
- Blacklist(nbrInfo[1].slot, nbrInfo[1].frame);
- nbrInfo[2].nodeID = 22;
- nbrInfo[2].bitMap = TWO_HOP;
- nbrInfo[2].frame = 16;
- nbrInfo[2].slot = 13;
- Blacklist(nbrInfo[2].slot, nbrInfo[2].frame);
- nbrInfo[3].nodeID = 13;
- nbrInfo[3].bitMap = TWO_HOP;
- nbrInfo[3].frame = 16;
- nbrInfo[3].slot = 0;
- Blacklist(nbrInfo[3].slot, nbrInfo[3].frame);
- nbrInfo[4].nodeID = 38;
- nbrInfo[4].bitMap = TWO_HOP;
- nbrInfo[4].frame = 16;
- nbrInfo[4].slot = 9;
- Blacklist(nbrInfo[4].slot, nbrInfo[4].frame);
- nbrInfo[5].nodeID = 34;
- nbrInfo[5].bitMap = TWO_HOP;
- nbrInfo[5].frame = 16;
- nbrInfo[5].slot = 6;
- Blacklist(nbrInfo[5].slot, nbrInfo[5].frame);
- nbrInfo[6].nodeID = 21;
- nbrInfo[6].bitMap = TWO_HOP;
- nbrInfo[6].frame = 16;
- nbrInfo[6].slot = 12;
- Blacklist(nbrInfo[6].slot, nbrInfo[6].frame);
- }