osd-contiki/cpu/avr/dev/usb/rndis/cdc_ecm.h

18 lines
428 B
C
Raw Permalink Normal View History

#ifndef CDC_ECM_H_
#define CDC_ECM_H_
#include "contiki.h"
#include <stdint.h>
#include "conf_usb.h"
#define SET_ETHERNET_PACKET_FILTER (0x43)
extern uint8_t cdc_ecm_process(void);
extern uint8_t ecm_send(uint8_t * senddata, uint16_t sendlen, uint8_t led);
extern void cdc_ecm_set_ethernet_packet_filter(void);
extern void cdc_ecm_configure_endpoints();
extern void cdc_ecm_set_active(uint8_t value);
#endif // CDC_ECM_H_