Changed the name of the rimeaddr module to linkaddr
This commit is contained in:
parent
765e9acded
commit
45265249fc
180 changed files with 930 additions and 930 deletions
|
@ -53,7 +53,7 @@ PROCESS(example_announcement_process, "Example announcement process");
|
|||
AUTOSTART_PROCESSES(&example_announcement_process);
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
received_announcement(struct announcement *a, const rimeaddr_t *from,
|
||||
received_announcement(struct announcement *a, const linkaddr_t *from,
|
||||
uint16_t id, uint16_t value)
|
||||
{
|
||||
/* We set our own announced value to one plus that of our neighbor. */
|
||||
|
@ -88,7 +88,7 @@ PROCESS_THREAD(example_announcement_process, ev, data)
|
|||
received_announcement);
|
||||
|
||||
/* Set the lowest eight bytes of the Rime address as the value. */
|
||||
announcement_set_value(&example_announcement, rimeaddr_node_addr.u8[0]);
|
||||
announcement_set_value(&example_announcement, linkaddr_node_addr.u8[0]);
|
||||
|
||||
while(1) {
|
||||
static struct etimer et;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue