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
|
@ -68,7 +68,7 @@ timedout(struct mesh_conn *c)
|
|||
}
|
||||
|
||||
static void
|
||||
recv(struct mesh_conn *c, const rimeaddr_t *from, uint8_t hops)
|
||||
recv(struct mesh_conn *c, const linkaddr_t *from, uint8_t hops)
|
||||
{
|
||||
printf("Data received from %d.%d: %.*s (%d)\n",
|
||||
from->u8[0], from->u8[1],
|
||||
|
@ -90,7 +90,7 @@ PROCESS_THREAD(example_mesh_process, ev, data)
|
|||
SENSORS_ACTIVATE(button_sensor);
|
||||
|
||||
while(1) {
|
||||
rimeaddr_t addr;
|
||||
linkaddr_t addr;
|
||||
|
||||
/* Wait for button click before sending the first message. */
|
||||
PROCESS_WAIT_EVENT_UNTIL(ev == sensors_event && data == &button_sensor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue