Hello everybody,
I used the "dirty hack to get Blip and RF212 working" from Johny Mattsson (http://tinyos-help.10906.n7.nabble.com/BLIP-2-0-with-RF230-RF212-td7023.html) and adapted corresponding changes to RF230-files. By means of placed defines it is now possible to compile Blip code, e.g. UDPEcho, for IRIS nodes (RF230) as well as for Tmotes (CC2420). For testing, if all works fine, I built a small network containing a Tmote base station (PppRouter-App.) and several Tmotes and Iris motes with the UDPEcho-App. My problem is, that the Iris-nodes can't join the network. By sniffing solicitation messages I found differences in the packet size. ###### Tmote solicitation: ###### Decompressed 6LoWPAN header (46 bytes): 0000 60 0f ff d3 00 06 3a 01 fe 80 00 00 00 00 00 00 `.....:. ........ 0010 00 00 00 ff fe 00 00 03 ff 02 00 00 00 00 00 00 ........ ........ 0020 00 00 00 00 00 00 00 1a 9b 00 3b 74 2c 88 ........ ..;t,. Frame (23 bytes): 0000 41 88 03 22 00 ff ff 03 00 61 3b c3 0f ff d3 3a A..".... .a;....: 0010 1a 9b 00 3b 74 2c 88 ...;t,. ###### Iris solicitation: ###### Decompressed 6LoWPAN header (47 bytes): 0000 60 02 dd 5e 00 07 3a 01 fe 80 00 00 00 00 00 00 `..^..:. ........ 0010 00 00 00 ff fe 00 00 05 ff 02 00 00 00 00 00 00 ........ ........ 0020 00 00 00 00 00 00 00 1a 9b 00 0a 7d 5d 7d 00 ........ ...}]}. Frame (24 bytes): 0000 41 88 56 22 00 ff ff 05 00 61 3b 01 02 dd 5e 3a A.V".... .a;...^: 0010 1a 9b 00 0a 7d 5d 7d 00 ....}]}. 1) The last byte of the 6LowPAN frame (packet of Iris node) contains zeros and as per Wireshark it is an ICMPv6 RPL option (1-Byte padding). Can this be the reason, why the base station does not receive the solicitation messages of the IRIS node? Why does that byte padding happen? (How) can I fix it? 2) Next fact, which confuses me are the different flow labels (IRIS: 0x00002dd5e, Tmote: 0x0000fff3d) including different traffic classes (IRIS: ECN=0x00 DSCP=0x01 -> traffic class=0x04, Tmote: ECN=0x03 DSCP=0x03 -> traffic class=0x0f ). Can this point cause discarting the packets of the IRIS node? Did anybody test heterogeneous Blip2.0 networks yet using RF230 and CC24020 hardware or something similar to it? I already tested the repository from Miklos Maroti, but unfortunately without success. I hope, someone could help me with my stated problem or can give me advice, which components in /tos/chips or /tos/lib/net/blip could cause my problem or whereby I have to look for? Thanks for your help! Best regards, Sebastian Scheibe ps: my Makefile of UDPEcho contains the following options: COMPONENT=UDPEchoC # radio options CFLAGS += -DCC2420_DEF_CHANNEL=13 CFLAGS += -DRF230_DEF_CHANNEL=13 CFLAGS += -DCC2420_DEF_RFPOWER=4 -DENABLE_SPI0_DMA PFLAGS += -DRPL_ROUTING -DRPL_STORING_MODE -I$(TOSDIR)/lib/net/rpl # PFLAGS += -DRPL_OF_MRHOF #PFLAGS += -DLIB6LOWPAN_HC_VERSION=-1 PFLAGS += -DREPORT_DEST="fec0::100" #-DBLIP_STATS -BLIP_STAPS_IP_MEM PFLAGS += -DBLIP_DERIVE_SHORTADDRS PFLAGS += -DIN6_PREFIX="fec0::" include $(MAKERULES)
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
