Hello,
I am writing firmware for an embedded device that will utilize USB to communicate with the Windows CE.
I am using the RNDIS protocol to communicate with the Windows CE environment. The microcontroller firmware that I am writing must conform to the RNDIS specification and communicate the correct messages back and forth, which are determined by the OIDS used.
My problem is this:
The Microcontroller does have have a way of monitoring certain items that the OIDS will query for. The OIDS in particular are:
OID_GEN_XMIT_OK
OID_GEN_RCV_OK
OID_GEN_XMIT_ERROR
OID_GEN_RCV_ERROR
OID_GEN_RCV_NO_BUFFER
OID_GEN_DIRECTED_BYTES_XMIT
OID_GEN_DIRECTED_FRAMES_XMIT
OID_GEN_MULTICAST_BYTES_XMIT
OID_GEN_MULTICAST_FRAMES_XMIT
OID_GEN_BROADCAST_BYTES_XMIT
OID_GEN_BROADCAST_FRAMES_XMIT
OID_GEN_DIRECTED_BYTES_RCV
OID_GEN_DIRECTED_FRAMES_RCV
OID_GEN_MULTICAST_BYTES_RCV
OID_GEN_MULTICAST_FRAMES_RCV
OID_GEN_BROADCAST_BYTES_RCV
OID_GEN_BROADCAST_FRAMES_RCV
OID_GEN_RCV_CRC_ERROR
OID_802_3_MAC_OPTIONS
OID_802_3_RCV_ERROR_ALIGNMENT
OID_802_3_XMIT_ONE_COLLISION
OID_802_3_XMIT_MORE_COLLISIONS
OID_802_3_XMIT_DEFERRED
OID_802_3_XMIT_MAX_COLLISIONS
OID_802_3_RCV_OVERRUN
OID_802_3_XMIT_UNDERRUN
OID_802_3_XMIT_HEARTBEAT_FAILURE
OID_802_3_XMIT_TIMES_CRS_LOST
OID_802_3_XMIT_LATE_COLLISIONS
OID_PNP_CAPABILITIES
OID_PNP_QUERY_POWER
OID_802_3_MULTICAST_LIST
OID_PNP_SET_POWER
For all these items, the Microcontroller either will not have access to, or simply does not have the ability to do what is asked and return a value to the RNDIS driver on the Windows CE environment.
My question:
Is there a way to create a templated message (or messages) that will satisfy the Windows RNDIS driver as a response to the OID queries that I have listed here?