Changed the name of the rimeaddr module to linkaddr

This commit is contained in:
Adam Dunkels 2013-12-12 23:58:52 +01:00
parent 765e9acded
commit 45265249fc
180 changed files with 930 additions and 930 deletions

View file

@ -36,7 +36,7 @@
#include <string.h>
#include "contiki.h"
#include "net/rimeaddr.h"
#include "net/linkaddr.h"
#include "sys/ctimer.h"
#include "net/ip/uip.h"
@ -264,9 +264,9 @@ slip_poll_handler(uint8_t *outbuf, uint16_t blen)
/* this is just a test so far... just to see if it works */
slip_arch_writeb('!');
slip_arch_writeb('M');
for(j = 0; j < RIMEADDR_SIZE; j++) {
slip_arch_writeb(hexchar[rimeaddr_node_addr.u8[j] >> 4]);
slip_arch_writeb(hexchar[rimeaddr_node_addr.u8[j] & 15]);
for(j = 0; j < LINKADDR_SIZE; j++) {
slip_arch_writeb(hexchar[linkaddr_node_addr.u8[j] >> 4]);
slip_arch_writeb(hexchar[linkaddr_node_addr.u8[j] & 15]);
}
slip_arch_writeb(SLIP_END);
return 0;