cdc_ecm.h
00001
00002 #ifndef __CDC_ECM_H__
00003 #define __CDC_ECM_H__
00004
00005 #include "contiki.h"
00006 #include <stdint.h>
00007 #include "conf_usb.h"
00008
00009 #define SET_ETHERNET_PACKET_FILTER (0x43)
00010
00011
00012 extern uint8_t cdc_ecm_process(void);
00013 extern uint8_t ecm_send(uint8_t * senddata, uint16_t sendlen, uint8_t led);
00014 extern void cdc_ecm_set_ethernet_packet_filter(void);
00015 extern void cdc_ecm_configure_endpoints();
00016 extern void cdc_ecm_set_active(uint8_t value);
00017
00018 #endif // __CDC_ECM_H__