Dear all.

I am using Blip 2.0 with RPL enabled in order to make multi-hop in the WSN
with this scheme:

Pc(fec0::100) -----(USB connection)--->PppRpouter (Node Id 1, fec0::1)--->
UDPEcho Derived (Node Id 4, fec0::4) ----> UDPEcho Derived (Node Id 7,
fec0::7)

The node with  Id4 and the node with Id7 are sending its sensing values to
the  IP address fec0:100.

The nodes with Id4 and Id7 have the same configuration, to send every 5
second to the machine with the  IP address fec0:100 (The PC).

For the node Id4 it's Ok, it sent every 5 seconds its sensing values to:
fec0:100.

But the Node Id7 is having delays all the time, I mean, The fec0:100 is not
receiving the data from Node Id7 every 5 seconds but with variations.


This is the data's time when is received from the node Id4:

2012-03-20 14:19:41
2012-03-20 14:19:46
2012-03-20 14:19:51
2012-03-20 14:19:56
2012-03-20 14:20:01
2012-03-20 14:20:06
2012-03-20 14:20:11
2012-03-20 14:20:16
2012-03-20 14:20:21
2012-03-20 14:20:26

But it is the data's time when is received from the node Id7 (As can it
see, the data time arriving is different of a period of 5 seconds):

2012-03-20 14:19:26
2012-03-20 14:19:46
2012-03-20 14:19:58
2012-03-20 14:20:01
2012-03-20 14:20:08
2012-03-20 14:20:16
2012-03-20 14:20:21
2012-03-20 14:20:29

This is the Pprouter's Makefile:

COMPONENT=PppRouterC
# PFLAGS += -DENABLE_SPI0_DMA
# PFLAGS += -DCC2420_DEF_CHANNEL=21
###########################################################################
CFLAGS += -DLOW_POWER_LISTENING
CFLAGS += -DCC2420_DEF_RFPOWER=2
###########################################################################
PFLAGS += -DRPL_ROUTING -DRPL_STORING_MODE -I$(LOWPAN_ROOT)/tos/lib/net/rpl
PFLAGS += -I$(TOSDIR)/lib/ppp
PFLAGS += -I$(TOSDIR)/lib/fragpool
PFLAGS += -DPPP_HDLC_RX_FRAME_LIMIT=1 -DPPP_HDLC_TX_FRAME_LIMIT=8
PFLAGS += -DIN6_PREFIX=\"fec0::\"
PFLAGS += -DBLIP_DERIVE_SHORTADDRS
include $(MAKERULES)



And this is the  Makefile of UDPEcho modified.


COMPONENT=UDPEchoC


######################################################################
CFLAGS += -DCC2420_DEF_CHANNEL=26
CFLAGS += -DCC2420_DEF_RFPOWER=2
######################################################################
CFLAGS += -DLOW_POWER_LISTENING
CFLAGS += -DLPL_SLEEP_INTERVAL=512
CFLAGS += -DBLIP_L2_RETRIES=2
CFLAGS += -DBLIP_L2_DELAY=2048
#######################################################################
PFLAGS += -DRPL_ROUTING -DRPL_STORING_MODE -I$(TOSDIR)/lib/net/rpl
PFLAGS += -DBLIP_DERIVE_SHORTADDRS
PFLAGS += -DIN6_PREFIX=\"fec0::\"
#######################################################################
CFLAGS+=-DRPL_ROOT_ADDR=1
CFLAGS += -DREPORT_DEST=\"fec0::1\"

include $(MAKERULES)


Thanks in advance for any advice.

Yours sincerely,

Alex.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to