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

@ -74,7 +74,7 @@ SHELL_COMMAND(runicast_command,
PROCESS_THREAD(shell_runicast_process, ev, data)
{
struct shell_input *input;
static rimeaddr_t receiver;
static linkaddr_t receiver;
int len;
const char *nextptr;
struct collect_msg *msg;
@ -122,7 +122,7 @@ PROCESS_THREAD(shell_runicast_process, ev, data)
PROCESS_END();
}
static void
recv_ruc(struct runicast_conn *c, const rimeaddr_t *from, uint8_t seqno)
recv_ruc(struct runicast_conn *c, const linkaddr_t *from, uint8_t seqno)
{
struct collect_msg *msg;
rtimer_clock_t latency;
@ -147,14 +147,14 @@ recv_ruc(struct runicast_conn *c, const rimeaddr_t *from, uint8_t seqno)
msg->data);
}
static void
sent_ruc(struct runicast_conn *c, const rimeaddr_t *to, uint8_t tx)
sent_ruc(struct runicast_conn *c, const linkaddr_t *to, uint8_t tx)
{
printf("runicast message sent to %d.%d, %d transmissions\n",
to->u8[0], to->u8[1],
tx);
}
static void
timedout_ruc(struct runicast_conn *c, const rimeaddr_t *to, uint8_t tx)
timedout_ruc(struct runicast_conn *c, const linkaddr_t *to, uint8_t tx)
{
printf("runicast message to %d.%d timed out after %d transmissions\n",
to->u8[0], to->u8[1],