From: Бојан М. <bo...@un...> - 2010-12-09 14:21:29
|
Hi David, As far I know, I started all ended processes. Here is Contiki part of my initialization: // CONTIKI initialization process_init(); // initialize process manager /* rtimers needed for radio cycling */ //rtimer_init(); netstack_init(); set_rime_addr(); /* start services */ process_start(&etimer_process, NULL); ctimer_init(); memcpy(&uip_lladdr.addr, &rimeaddr_node_addr, sizeof(uip_lladdr.addr)); queuebuf_init(); #if (!UIP_CONF_IPV6_RPL) uip_ip6addr(&ipMaddr, 0xaaaa, 0, 0, 0, 0, 0, 0, 0); uip_ds6_set_addr_iid(&ipMaddr, &uip_lladdr); uip_ds6_addr_add(&ipMaddr, 0, ADDR_TENTATIVE); #endif /* UIP_CONF_IPV6_RPL */ //mac_driver_ptr = sicslowmac_init(&cc2530_rf_driver); //sicslowpan_init(mac_driver_ptr); process_start(&tcpip_process, NULL); In my case, I'm not using border router to connect to Internet or PC , for now I just want to demonstrate basic multi-hop scenario between nodes (clients to server and vice-verse).. Now, as far I was able to debug, when sending client tries to send message to server IP, node sends ICMPv6 message for neighbor solicitation for that address, and because server is not on link with that client, packet is never sent.. And also in code, Contiki searches first through neighbor list and then tries to find default routers from default router list, which is empty.. Then I tried to set UIP_CONF_ND6_SEND_RA to 1, but now compiler errors in uip_nd6_ra_output function for prefix variable (is undefined, but easily solvable :) ).. So maybe this prefix may have something in connection with prefix you mentioned, but now I don't know how to set up prefix.. I still haven't found solution for this, so this is getting little frustrating :) .. Greet's Bojan *Re: [Contiki-developers] How to form RPL multi-hop route?.. <https://sourceforge.net/mailarchive/message.php?msg_id=26720732>* From: David Kopf <dak664@em...> - 2010-12-08 16:19 Hi, I don't see any difference from that conf and the one for the working Raven. RPL uses the tcp process to send messages, do you start that? Also I think some timers are needed, not sure which. Link-local addresses will not work from the border router, they have to be ipv6 addresses. Running tunslip6 with full debug well tell you more ($tunslip6 --help). Does a prefix get sent through tunslip6 on startup? It will print the full border router address and you should be able to ping that. Then the single hop node, then the two hop node. If not posting the tunslip output might be useful. ----- Original Message ----- From: "Бојан Миладиновић"<bo...@un... <mailto:bo...@un...>> To: "Contiki developer mailing list"<con...@li... <mailto:con...@li...>> Sent: Wednesday, December 08, 2010 10:11 AM Subject: Re: [Contiki-developers] How to form RPL multi-hop route?.. > Hi, > > I still have been unsuccessful to multi-hop message.. My platform is > cc2530, similar to cc2430.. I'm probably missing something in > contiki-conf.h or in system initialization..Here is part of my > contiki-conf.h: |