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
|
@ -51,7 +51,7 @@ static uint8_t listening_for_neighbors = 0;
|
|||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
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)
|
||||
{
|
||||
struct {
|
||||
|
@ -64,7 +64,7 @@ received_announcement(struct announcement *a, const rimeaddr_t *from,
|
|||
if(listening_for_neighbors) {
|
||||
memset(&msg, 0, sizeof(msg));
|
||||
msg.len = 3;
|
||||
rimeaddr_copy((rimeaddr_t *)&msg.addr, from);
|
||||
linkaddr_copy((linkaddr_t *)&msg.addr, from);
|
||||
msg.rssi = packetbuf_attr(PACKETBUF_ATTR_RSSI);
|
||||
msg.lqi = packetbuf_attr(PACKETBUF_ATTR_LINK_QUALITY);
|
||||
shell_output(&neighbors_command, &msg, sizeof(msg), "", 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue