Hi,
My understanding of RNDIS driver on LCr supports TCP/IP protocol and the LCr is as a Slave (client), PC is as a Host (server).
Is my understanding correct?
Since we still have not succeeded in Winsock communication such as returning an error "WSAECONNRESET(10054)", I'd like to confirm.
Our situation is as below. Isn't this communication error caused by the USB driver unstable connection stuff, is it?
- Connection OK
- Retrun w/ OK on Send command. But no change.
- To set Current Display Mode to "Internal Test Pattern", align the byte as below and "Send".
Byte command[1024];
// Check Sum: total transmit bytes
commandData[0] = 0x06;
// Payload Data: transmit data 0x01:Internal Test Pattern
commandData[1] = 0x01;
// Payload Length: transmit data length
commandData[2] = 0x00;
commandData[3] = 0x01;
// Flag: command flag 0x00:complete data
commandData[4] = 0x00;
// CMD2: command ID Current Display Mode (0x01 0x01)
commandData[5] = 0x01;
// CMD1: command ID Current Display Mode (0x01 0x01)
commandData[6] = 0x01;
// Packet Type: packet type 0x02:Host Write Command Packet
commandData[7] = 0x02;
[Host PC]
Windoes7 64Bit Proffesinal
Regards,
Takeshi