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
|
@ -71,7 +71,7 @@ PROCESS(netdb_process, "NetDB");
|
|||
AUTOSTART_PROCESSES(&netdb_process);
|
||||
|
||||
static struct mesh_conn mesh;
|
||||
static rimeaddr_t reply_addr;
|
||||
static linkaddr_t reply_addr;
|
||||
static uint8_t buffer_offset;
|
||||
static char buffer[MAX_BUFFER_SIZE];
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -263,7 +263,7 @@ timedout(struct mesh_conn *c)
|
|||
}
|
||||
|
||||
static void
|
||||
received(struct mesh_conn *c, const rimeaddr_t *from, uint8_t hops)
|
||||
received(struct mesh_conn *c, const linkaddr_t *from, uint8_t hops)
|
||||
{
|
||||
char *data;
|
||||
unsigned len;
|
||||
|
@ -282,7 +282,7 @@ received(struct mesh_conn *c, const rimeaddr_t *from, uint8_t hops)
|
|||
|
||||
printf("Query received from %d.%d: %s (%d hops)\n",
|
||||
from->u8[0], from->u8[1], query, (int)hops);
|
||||
rimeaddr_copy(&reply_addr, from);
|
||||
linkaddr_copy(&reply_addr, from);
|
||||
|
||||
process_post(&query_process, serial_line_event_message, query);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue