Contiki 2.6

rndis_task.c File Reference

Manages the RNDIS Dataclass for the USB Device. More...

#include "contiki.h"
#include "usb_drv.h"
#include "usb_descriptors.h"
#include "usb_specific_request.h"
#include "rndis/rndis_task.h"
#include "rndis/rndis_protocol.h"
#include "uip.h"
#include "sicslow_ethernet.h"
#include <stdio.h>
#include <avr/pgmspace.h>
#include <util/delay.h>
#include "watchdog.h"
#include "rndis/cdc_ecm.h"
#include "rndis/cdc_eem.h"

Go to the source code of this file.

Functions

void rx_start_led (void)
 This will enable the RX_START LED for a period.
void tx_end_led (void)
 This will enable the TRX_END LED for a period.
 PROCESS_THREAD (usb_eth_process, ev, data_proc)
 RNDIS Process.
uint8_t usb_eth_send (uint8_t *senddata, uint16_t sendlen, uint8_t led)
 Sends a single ethernet frame over USB using appropriate low-level protocol (EEM or RNDIS)

Variables

uint8_t usb_eth_data_buffer [64]
 Temp data buffer when adding RNDIS headers.
uint8_t led1_timer
 Timers for LEDs.

Detailed Description

Manages the RNDIS Dataclass for the USB Device.

*********************************************************

Definition in file rndis_task.c.