contiki-os / contiki

The official git repository for Contiki, the open source OS for the Internet of Things
http://www.contiki-os.org/
Other
3.71k stars 2.58k forks source link

(Question) Node with a RDC of 2Hz -> How to configure the border router in accordance? #866

Closed darkopetrovic closed 9 years ago

darkopetrovic commented 9 years ago

Hi,

I'm working with the CC2538dk and I'm using the border router example in examples\ipv6\rpl-border-router on one of the board. On the other board I use the echo server found in examples\cc2538dk\udp-ipv6-echo-server but I configured the channel check rate to 2Hz.

NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE    2

I can still communicate with the node but sometimes (quite often at 2Hz rather) the node doesn't echo back the message. I understand that it can miss the message because the sleep interval is now longer.

Thus my question is: How can I increase on the border router the message length/duration so that the node can see it when it wake-up? What is the proper way to do that?

My Thanks in advance.

cmorty commented 9 years ago

Am 14.11.2014 um 10:59 schrieb Darko Petrovic:

I'm working with the CC2538dk and I'm using the border router example in |examples\ipv6\rpl-border-router| on one of the board. On the other board I use the echo server found in |examples\cc2538dk\udp-ipv6-echo-server| but I configured the channel check rate to 2Hz.

NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 2

This is not necessarily a good idea: http://dl.acm.org/citation.cfm?id=2641838

Morty

darkopetrovic commented 9 years ago

This seems very good article thanks for the sharing.

Yes I could agree with your finding. Hopefully for me I send less than 10 packets per minute and furthermore I'm sending only to an always listening device close to my node (final product too not only for test).

In regards to your article I understand very well that reducing the CCR could affect the percentage of received packet. But my configuration allows me decrease this check rate. So my question is therefore still open and I hope that someone familiar with contiki could put me one the right track.