diff --git a/examples/rime/example-collect.c b/examples/rime/example-collect.c index 2e9e61540..c5cab544d 100644 --- a/examples/rime/example-collect.c +++ b/examples/rime/example-collect.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-collect.c,v 1.8 2009/03/12 21:58:21 adamdunkels Exp $ + * $Id: example-collect.c,v 1.9 2009/10/18 17:52:08 adamdunkels Exp $ */ /** @@ -71,7 +71,7 @@ PROCESS_THREAD(example_collect_process, ev, data) { PROCESS_BEGIN(); - collect_open(&tc, 128, &callbacks); + collect_open(&tc, 130, &callbacks); while(1) { static struct etimer et; diff --git a/examples/rime/example-mesh.c b/examples/rime/example-mesh.c index 7a4765f89..a7881c2ca 100644 --- a/examples/rime/example-mesh.c +++ b/examples/rime/example-mesh.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-mesh.c,v 1.4 2009/03/12 21:58:21 adamdunkels Exp $ + * $Id: example-mesh.c,v 1.5 2009/10/18 17:52:08 adamdunkels Exp $ */ /** @@ -64,7 +64,7 @@ timedout(struct mesh_conn *c) printf("packet timedout\n"); } static void -recv(struct mesh_conn *c, rimeaddr_t *from, uint8_t hops) +recv(struct mesh_conn *c, const rimeaddr_t *from, uint8_t hops) { printf("Data received from %d.%d: %.*s (%d)\n", from->u8[0], from->u8[1], @@ -81,7 +81,7 @@ PROCESS_THREAD(example_mesh_process, ev, data) PROCESS_EXITHANDLER(mesh_close(&mesh);) PROCESS_BEGIN(); - mesh_open(&mesh, 128, &callbacks); + mesh_open(&mesh, 132, &callbacks); button_sensor.activate(); @@ -101,8 +101,8 @@ PROCESS_THREAD(example_mesh_process, ev, data) */ packetbuf_copyfrom("Hej", 3); - addr.u8[0] = 161; - addr.u8[1] = 161; + addr.u8[0] = 1; + addr.u8[1] = 0; mesh_send(&mesh, &addr); } PROCESS_END(); diff --git a/examples/rime/example-multihop.c b/examples/rime/example-multihop.c index 4f49f4032..3206709a2 100644 --- a/examples/rime/example-multihop.c +++ b/examples/rime/example-multihop.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-multihop.c,v 1.4 2009/03/23 18:10:09 adamdunkels Exp $ + * $Id: example-multihop.c,v 1.5 2009/10/18 17:52:08 adamdunkels Exp $ */ /** @@ -81,7 +81,7 @@ #include -#define CHANNEL 128 +#define CHANNEL 135 struct example_neighbor { diff --git a/examples/rime/example-polite.c b/examples/rime/example-polite.c index 054e49a1e..111cc2ef0 100644 --- a/examples/rime/example-polite.c +++ b/examples/rime/example-polite.c @@ -33,7 +33,7 @@ PROCESS_THREAD(example_polite_process, ev, data) PROCESS_BEGIN(); - polite_open(&c, 128, &callbacks); + polite_open(&c, 136, &callbacks); while(1) { static struct etimer et; diff --git a/examples/rime/example-rucb.c b/examples/rime/example-rucb.c index 473b7a978..00e4633d7 100644 --- a/examples/rime/example-rucb.c +++ b/examples/rime/example-rucb.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-rucb.c,v 1.5 2008/11/17 22:52:10 oliverschmidt Exp $ + * $Id: example-rucb.c,v 1.6 2009/10/18 17:52:08 adamdunkels Exp $ */ /** @@ -115,7 +115,7 @@ PROCESS_THREAD(example_rucb_process, ev, data) PROCESS_PAUSE(); - rucb_open(&rucb, 128, &rucb_call); + rucb_open(&rucb, 137, &rucb_call); button_sensor.activate(); PROCESS_PAUSE(); diff --git a/examples/rime/example-rudolph0.c b/examples/rime/example-rudolph0.c index 3e39b6f00..f640a7f9e 100644 --- a/examples/rime/example-rudolph0.c +++ b/examples/rime/example-rudolph0.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-rudolph0.c,v 1.2 2009/02/27 14:28:02 nvt-se Exp $ + * $Id: example-rudolph0.c,v 1.3 2009/10/18 17:52:09 adamdunkels Exp $ */ /** @@ -123,7 +123,7 @@ PROCESS_THREAD(example_rudolph0_process, ev, data) PROCESS_PAUSE(); - rudolph0_open(&rudolph0, 128, &rudolph0_call); + rudolph0_open(&rudolph0, 138, &rudolph0_call); button_sensor.activate(); while(1) { diff --git a/examples/rime/example-rudolph1.c b/examples/rime/example-rudolph1.c index 77a7b3538..fe54ffca5 100644 --- a/examples/rime/example-rudolph1.c +++ b/examples/rime/example-rudolph1.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-rudolph1.c,v 1.4 2009/02/27 14:28:02 nvt-se Exp $ + * $Id: example-rudolph1.c,v 1.5 2009/10/18 17:52:09 adamdunkels Exp $ */ /** @@ -159,7 +159,7 @@ PROCESS_THREAD(example_rudolph1_process, ev, data) PROCESS_PAUSE(); - rudolph1_open(&rudolph1, 128, &rudolph1_call); + rudolph1_open(&rudolph1, 140, &rudolph1_call); button_sensor.activate(); rtimer_set(&t, RTIMER_NOW() + RTIMER_ARCH_SECOND, 1, diff --git a/examples/rime/example-rudolph2.c b/examples/rime/example-rudolph2.c index 7e3dac62b..6dd0db339 100644 --- a/examples/rime/example-rudolph2.c +++ b/examples/rime/example-rudolph2.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-rudolph2.c,v 1.3 2009/02/27 14:28:02 nvt-se Exp $ + * $Id: example-rudolph2.c,v 1.4 2009/10/18 17:52:09 adamdunkels Exp $ */ /** @@ -145,7 +145,7 @@ PROCESS_THREAD(example_rudolph2_process, ev, data) PROCESS_PAUSE(); - rudolph2_open(&rudolph2, 128, &rudolph2_call); + rudolph2_open(&rudolph2, 142, &rudolph2_call); button_sensor.activate(); PROCESS_PAUSE(); diff --git a/examples/rime/example-runicast.c b/examples/rime/example-runicast.c index f3ec895d8..e0c292488 100644 --- a/examples/rime/example-runicast.c +++ b/examples/rime/example-runicast.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-runicast.c,v 1.5 2009/05/06 15:03:49 adamdunkels Exp $ + * $Id: example-runicast.c,v 1.6 2009/10/18 17:52:09 adamdunkels Exp $ */ /** @@ -123,7 +123,7 @@ PROCESS_THREAD(test_runicast_process, ev, data) PROCESS_BEGIN(); - runicast_open(&runicast, 128, &runicast_callbacks); + runicast_open(&runicast, 144, &runicast_callbacks); /* OPTIONAL: Sender history */ list_init(history_table); diff --git a/examples/rime/example-trickle.c b/examples/rime/example-trickle.c index 036c74009..18746584b 100644 --- a/examples/rime/example-trickle.c +++ b/examples/rime/example-trickle.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-trickle.c,v 1.2 2009/03/12 21:58:21 adamdunkels Exp $ + * $Id: example-trickle.c,v 1.3 2009/10/18 17:52:09 adamdunkels Exp $ */ /** @@ -65,7 +65,7 @@ PROCESS_THREAD(example_trickle_process, ev, data) PROCESS_EXITHANDLER(trickle_close(&trickle);) PROCESS_BEGIN(); - trickle_open(&trickle, CLOCK_SECOND, 128, &trickle_call); + trickle_open(&trickle, CLOCK_SECOND, 145, &trickle_call); button_sensor.activate(); while(1) { diff --git a/examples/rime/example-unicast.c b/examples/rime/example-unicast.c index dfefa43ff..e5a6fcefa 100644 --- a/examples/rime/example-unicast.c +++ b/examples/rime/example-unicast.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: example-unicast.c,v 1.2 2009/03/12 21:58:21 adamdunkels Exp $ + * $Id: example-unicast.c,v 1.3 2009/10/18 17:52:09 adamdunkels Exp $ */ /** @@ -66,7 +66,7 @@ PROCESS_THREAD(example_unicast_process, ev, data) PROCESS_BEGIN(); - unicast_open(&uc, 128, &unicast_callbacks); + unicast_open(&uc, 146, &unicast_callbacks); while(1) { static struct etimer et;