Esempio n. 1
0
/*---------------------------------------------------------------------------*/
void
collect_close(struct collect_conn *tc)
{
#if COLLECT_ANNOUNCEMENTS
    announcement_remove(&tc->announcement);
#else
    neighbor_discovery_close(&tc->neighbor_discovery_conn);
#endif /* COLLECT_ANNOUNCEMENTS */
    runicast_close(&tc->runicast_conn);
}
Esempio n. 2
0
/*---------------------------------------------------------------------------*/
PROCESS_THREAD(shell_neighbors_process, ev, data)
{
  static struct etimer et;

  PROCESS_EXITHANDLER(announcement_remove(&neighbor_announcement);)