USB_ClassInfo_RNDIS_Host_t Struct Reference
[RNDIS Class Host Mode Driver]

#include <RNDIS.h>

Data Fields

struct {
   uint8_t   DataINPipeNumber
   bool   DataINPipeDoubleBank
   uint8_t   DataOUTPipeNumber
   bool   DataOUTPipeDoubleBank
   uint8_t   NotificationPipeNumber
   bool   NotificationPipeDoubleBank
   uint32_t   HostMaxPacketSize
Config
struct {
   bool   IsActive
   uint8_t   ControlInterfaceNumber
   uint16_t   DataINPipeSize
   uint16_t   DataOUTPipeSize
   uint16_t   NotificationPipeSize
   uint32_t   DeviceMaxPacketSize
   uint32_t   RequestID
State

Detailed Description

Class state structure. An instance of this structure should be made within the user application, and passed to each of the RNDIS class driver functions as the RNDISInterfaceInfo parameter. This stores each RNDIS interface's configuration and state information.


Field Documentation

Config data for the USB class interface within the device. All elements in this section must be set or the interface will fail to enumerate and operate correctly.

Interface index of the RNDIS control interface within the attached device

Pipe number of the RNDIS interface's IN data pipe

Size in bytes of the RNDIS interface's IN data pipe

Indicates if the RNDIS interface's IN data pipe should use double banking Pipe number of the RNDIS interface's OUT data pipe

Size in bytes of the RNDIS interface's OUT data pipe

Maximum size of a packet which can be buffered by the attached RNDIS device

Indicates if the RNDIS interface's notification pipe should use double banking Maximum size of a packet which can be buffered by the host

Indicates if the current interface instance is connected to an attached device, valid after RNDIS_Host_ConfigurePipes() is called and the Host state machine is in the Configured state

Indicates if the RNDIS interface's OUT data pipe should use double banking Pipe number of the RNDIS interface's IN notification endpoint, if used

Size in bytes of the RNDIS interface's IN notification pipe, if used

Request ID counter to give a unique ID for each command/response pair

State data for the USB class interface within the device. All elements in this section may be set to initial values, but may also be ignored to default to sane values when the interface is enumerated.


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2