initial upload
This commit is contained in:
parent
17c7e35621
commit
a6a1a7b375
15 changed files with 7325 additions and 0 deletions
20
examples/osd/wirelessplug/static-routing.h
Normal file
20
examples/osd/wirelessplug/static-routing.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* static-routing.h
|
||||
*
|
||||
* Created on: Oct 12, 2010
|
||||
* Author: simonduq
|
||||
*/
|
||||
|
||||
#ifndef STATICROUTING_H_
|
||||
#define STATICROUTING_H_
|
||||
|
||||
#include "contiki.h"
|
||||
|
||||
extern int node_rank;
|
||||
extern uint32_t get_mote_suffix(int id);
|
||||
extern int get_mote_id(uint32_t suffix);
|
||||
extern void add_route(int dest, int next);
|
||||
extern void set_global_address(void);
|
||||
extern void configure_routing(void);
|
||||
|
||||
#endif /* STATICROUTING_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue