Merge CDC-ECM, RNG, DFU bootloader, watchdog, settings manager, energy scan routines of Robert Quattlebaum
This commit is contained in:
parent
7b529cac03
commit
110bc0242e
42 changed files with 4739 additions and 2669 deletions
18
cpu/avr/dev/usb/rndis/cdc_ecm.h
Normal file
18
cpu/avr/dev/usb/rndis/cdc_ecm.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
#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__
|
Loading…
Add table
Add a link
Reference in a new issue