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

@ -51,7 +51,7 @@ PROCESS(example_unicast_process, "Example unicast");
AUTOSTART_PROCESSES(&example_unicast_process);
/*---------------------------------------------------------------------------*/
static void
recv_uc(struct unicast_conn *c, const rimeaddr_t *from)
recv_uc(struct unicast_conn *c, const linkaddr_t *from)
{
printf("unicast message received from %d.%d\n",
from->u8[0], from->u8[1]);
@ -69,7 +69,7 @@ PROCESS_THREAD(example_unicast_process, ev, data)
while(1) {
static struct etimer et;
rimeaddr_t addr;
linkaddr_t addr;
etimer_set(&et, CLOCK_SECOND);
@ -78,7 +78,7 @@ PROCESS_THREAD(example_unicast_process, ev, data)
//packetbuf_copyfrom("Enric Here!", 12);
//addr.u8[0] = 200;
//addr.u8[1] = 0;
//if(!rimeaddr_cmp(&addr, &rimeaddr_node_addr)) {
//if(!linkaddr_cmp(&addr, &linkaddr_node_addr)) {
//unicast_send(&uc, &addr);
//}