Open FFBoard
Open source force feedback firmware

Query Message. More...

#include <cdc_rndis.h>

Public Attributes

uint32_t type
 Message Type, must be RNDIS_MSG_QUERY. More...
 
uint32_t length
 Message length in bytes, including the header and the oid_buffer. More...
 
uint32_t request_id
 A 32-bit integer value, generated by the host, used to match the host's sent request to the response from the device. More...
 
uint32_t oid
 The integer value of the host operating system-defined identifier, for the parameter of the device being queried for. More...
 
uint32_t buffer_length
 The length, in bytes, of the input data required for the OID query. This MUST be set to 0 when there is no input data associated with the OID. More...
 
uint32_t buffer_offset
 The offset, in bytes, from the beginning of request_id field where the input data for the query is located in the message. This value MUST be set to 0 when there is no input data associated with the OID. More...
 
uint32_t reserved
 
uint8_t oid_buffer []
 Flexible array contains the input data supplied by the host, required for the OID query request processing by the device, as per the host NDIS specification. More...
 

Detailed Description

Query Message.

This message MUST be sent by the host to query an OID.

Definition at line 122 of file cdc_rndis.h.

Member Data Documentation

◆ buffer_length

uint32_t rndis_msg_query_t::buffer_length

The length, in bytes, of the input data required for the OID query. This MUST be set to 0 when there is no input data associated with the OID.

Definition at line 127 of file cdc_rndis.h.

◆ buffer_offset

uint32_t rndis_msg_query_t::buffer_offset

The offset, in bytes, from the beginning of request_id field where the input data for the query is located in the message. This value MUST be set to 0 when there is no input data associated with the OID.

Definition at line 128 of file cdc_rndis.h.

◆ length

uint32_t rndis_msg_query_t::length

Message length in bytes, including the header and the oid_buffer.

Definition at line 124 of file cdc_rndis.h.

◆ oid

uint32_t rndis_msg_query_t::oid

The integer value of the host operating system-defined identifier, for the parameter of the device being queried for.

Definition at line 126 of file cdc_rndis.h.

◆ oid_buffer

uint8_t rndis_msg_query_t::oid_buffer[]

Flexible array contains the input data supplied by the host, required for the OID query request processing by the device, as per the host NDIS specification.

Definition at line 130 of file cdc_rndis.h.

◆ request_id

uint32_t rndis_msg_query_t::request_id

A 32-bit integer value, generated by the host, used to match the host's sent request to the response from the device.

Definition at line 125 of file cdc_rndis.h.

◆ reserved

uint32_t rndis_msg_query_t::reserved

Definition at line 129 of file cdc_rndis.h.

◆ type

uint32_t rndis_msg_query_t::type

Message Type, must be RNDIS_MSG_QUERY.

Definition at line 123 of file cdc_rndis.h.


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