|
void | RNDIS_Device_ProcessControlRequest (USB_ClassInfo_RNDIS_Device_t *const RNDISInterfaceInfo) |
| Processes incoming control requests from the host, that are directed to the given RNDIS class interface. This should be linked to the library EVENT_USB_Device_ControlRequest() event.
|
|
bool | RNDIS_Device_ConfigureEndpoints (USB_ClassInfo_RNDIS_Device_t *const RNDISInterfaceInfo) |
| Configures the endpoints of a given RNDIS interface, ready for use. This should be linked to the library EVENT_USB_Device_ConfigurationChanged() event so that the endpoints are configured when the configuration containing the given RNDIS interface is selected.
|
|
void | RNDIS_Device_USBTask (USB_ClassInfo_RNDIS_Device_t *const RNDISInterfaceInfo) |
| General management task for a given RNDIS class interface, required for the correct operation of the interface. This should be called frequently in the main program loop, before the master USB management task USB_USBTask().
|
|
void | RNDIS_Device_ProcessRNDISControlMessage (USB_ClassInfo_RNDIS_Device_t *const RNDISInterfaceInfo) |
|
static bool | RNDIS_Device_ProcessNDISQuery (USB_ClassInfo_RNDIS_Device_t *const RNDISInterfaceInfo, const uint32_t OId, void *const QueryData, const uint16_t QuerySize, void *ResponseData, uint16_t *const ResponseSize) |
|
static bool | RNDIS_Device_ProcessNDISSet (USB_ClassInfo_RNDIS_Device_t *const RNDISInterfaceInfo, const uint32_t OId, const void *SetData, const uint16_t SetSize) |
|
bool | RNDIS_Device_IsPacketReceived (USB_ClassInfo_RNDIS_Device_t *const RNDISInterfaceInfo) |
| Determines if a packet is currently waiting for the device to read in and process.
|
|
uint8_t | RNDIS_Device_ReadPacket (USB_ClassInfo_RNDIS_Device_t *const RNDISInterfaceInfo, void *Buffer, uint16_t *const PacketLength) |
| Retrieves the next pending packet from the device, discarding the remainder of the RNDIS packet header to leave only the packet contents for processing by the device in the nominated buffer.
|
|
uint8_t | RNDIS_Device_SendPacket (USB_ClassInfo_RNDIS_Device_t *const RNDISInterfaceInfo, void *Buffer, const uint16_t PacketLength) |
| Sends the given packet to the attached RNDIS device, after adding a RNDIS packet message header.
|
|