Removed ethernode uIP driver from the main code

This commit is contained in:
adamdunkels 2007-03-14 00:32:30 +00:00
parent 548e4ce556
commit 9d030483ff
6 changed files with 59 additions and 53 deletions

View file

@ -30,7 +30,7 @@
*
* Author: Adam Dunkels <adam@sics.se>
*
* $Id: ethernode-rime.c,v 1.1 2007/03/13 13:07:48 adamdunkels Exp $
* $Id: ethernode-rime.c,v 1.2 2007/03/14 00:32:30 adamdunkels Exp $
*/
#include "contiki.h"
@ -46,7 +46,7 @@ PROCESS_THREAD(ethernode_rime_process, ev, data)
{
PROCESS_BEGIN();
printf("ethernode_rime_process\n");
/* printf("ethernode_rime_process\n");*/
while(1) {
process_poll(&ethernode_rime_process);
@ -64,8 +64,8 @@ PROCESS_THREAD(ethernode_rime_process, ev, data)
rimebuf_set_datalen(len);
printf("ethernode_rime_process: received len %d\n",
len);
/* printf("ethernode_rime_process: received len %d\n",
len);*/
abc_input_packet();
}
}
@ -75,8 +75,9 @@ PROCESS_THREAD(ethernode_rime_process, ev, data)
}
/*---------------------------------------------------------------------------*/
void
abc_arch_send(u8_t *buf, int len)
abc_driver_send(void)
{
ethernode_send_buf(buf, len);
/* printf("ethernode_rime: sending %d bytes\n", rimebuf_totlen());*/
ethernode_send_buf(rimebuf_hdrptr(), rimebuf_totlen());
}
/*---------------------------------------------------------------------------*/