Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the configuration order instead to ensure maximum reliability.
Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
This commit is contained in:
parent
a509729b2d
commit
158afe9109
106 changed files with 838 additions and 796 deletions
|
@ -44,6 +44,7 @@
|
|||
#include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
#include "RNDISConstants.h"
|
||||
#include "../RNDISEthernetHost.h"
|
||||
|
||||
/* Type Defines: */
|
||||
/** Type define for a RNDIS message header, sent before RNDIS messages. */
|
||||
|
@ -186,15 +187,6 @@
|
|||
|
||||
/** Implemented RNDIS Version Minor. */
|
||||
#define REMOTE_NDIS_VERSION_MINOR 0x00
|
||||
|
||||
/** Pipe number for the RNDIS data IN pipe. */
|
||||
#define RNDIS_DATAPIPE_IN 1
|
||||
|
||||
/** Pipe number for the RNDIS data OUT pipe. */
|
||||
#define RNDIS_DATAPIPE_OUT 2
|
||||
|
||||
/** Pipe number for the RNDIS notification pipe. */
|
||||
#define RNDIS_NOTIFICATIONPIPE 3
|
||||
|
||||
/** Additional error code for RNDIS functions when a device returns a logical command failure. */
|
||||
#define RNDIS_COMMAND_FAILED 0xC0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue