[mc1322x] 6LowPAN data payload

Daniel Berenguer dberenguer at usapiens.com
Sat Jul 17 18:45:03 EDT 2010


Thanks Mar and George.

I've finally tested udp-server on my first Econotag with udp-client on
my second Econotag and everything seems to work just fine. Then,
uploading border-router into the first Econotag (instead of
udp-server) disgraces the whole thing:

slip_input_callback is never called after calling slip_send() from
request_prefix() in border-router.c
As result, border-router gets blocked in the "Request prefix" loop so
it will even never respond to a "global repair" button press.

PROCESS_THREAD(border_router_process, ev, data)
{
...
  /* Request prefix until it has been received */
  while(!prefix_set) {
    etimer_set(&et, CLOCK_SECOND);
    request_prefix();
    PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&et));
  }
...

What is the purpose of "requesting the prefix" in border-router?
Sorry, I know this is an IPv6-related question but I've found very
little information in the net.

Daniel.


On 15 July 2010 23:31, George Lu <lu at goodxense.com> wrote:
>
>
> On Thu, Jul 15, 2010 at 2:22 PM, Mariano Alvira <mar at devl.org> wrote:
>>
>> Do you guys know about the global repair button? Pressing S3, KBI0-4
>> button does "Initiating global repair", which should refresh the
>> routes etc...
>>
>
> I had tried the global repair button a while ago. Also had a modified
> rpl-border-router.c that would initiate global repair periodically. I didn't
> find it effective. But then that was before the big improvement that came
> with increasing NUM_PACKETS to 32.
> George



More information about the mc1322x mailing list