I have repeatedly brought one of these issues up and I would really like to get an acknowledgement from TI. The cc3000 is doing 2 things wrong in the TCP stack in the firmware. These low level packets are beyond control from the API level, so this needs to be fixed in firmware:
1. Sometimes, the CC3000 sends a duplicate SYN+ACK after the client already ACKed the first SYN+ACK. I have seen this many times and posted about them in the past.
2. A RST from the client should ALWAYS cause an immediate socket close and raise an HCI_EVNT_BSD_TCP_CLOSE_WAIT event. In the example below, that duplicate SYN+ACK from the cc3000 causes the client to immediately RST (Reset) the connection. The socket is now closed, and yet, the cc3000 continues as if the socket is open! From the client API, there is no way to see that anything is wrong.
3. When I close the socket after some 10 seconds of inactivity, I call the socket method (HCI_CMND_CLOSE_SOCKET), but that causes the cc3000 to completely stop responding to all commands at that point. The interesting bit here is that the cc3000 DOES send out the FIN+ACK to the client to close the socket (see the last packet in Part 2), so I know the close command was properly received by the cc3000 over SPI. However, since the client already reset this connection, the client never responds and the cc3000 waits forever for the ACK that will never come.
Part 1 (Port 51422). CC3000 running an HTTP server on port 80 as 192.168.1.101. Client is Internet Explorer on 192.168.1.102.
Part 2:
I would recommend a few changes:
1. When you receive an RST from the client, close the socket on the cc3000 and raise this event: HCI_EVNT_BSD_TCP_CLOSE_WAIT
2. You must make the HCI_CMND_CLOSE_SOCKET a non-blocking call. There are situations where the client may never respond, rendering the cc3000 completely dead until it is power cycled.
If these issues are not fixed, I don't see any way that the cc3000 can EVER be used as a reliable server. I don't see any way to detect or workaround this. I have more captures as well showing other times this has happened. I could set the socket timeout option, but that won't solve the problem, as the cc3000 will still hang waiting for the client to ACK the FIN+ACK sent by the cc3000 when the socket close is attempted.
Thanks,
-Valkyrie-MT
P.S. For reference, I have also attached my server logs of the incident.
Handling Response for OpCode: 1005, Payload: 040510110002000000030000000200DEC86601A8C0 Accept Response 040510110002000000030000000200DEC86601A8C0 Socket 2 is OK, Accepted from IP 192.168.1.102:51422 06/01/2011 00:04:31 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:31 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 1009, Payload: 040910050000000000 Handling Response for OpCode: 1009, Payload: 040910050000000000 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 06/01/2011 00:04:31 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:31 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 1009, Payload: 040910050000000000 Handling Response for OpCode: 1009, Payload: 040910050000000000 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:31 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:31 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:31 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:31 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 06/01/2011 00:04:31 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:31 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:32 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:32 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:32 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 *** Beat *** Queue: 1, Unhandled Responses: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 06/01/2011 00:04:32 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:32 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000801000000000000 Adding special Opcode: 9013 06/01/2011 00:04:32 New Response Received (1885) - 0285182001030000000C00000008010000000000 ... Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 GotData - 0285182001030000000C00000008010000000000000000000000000000474554202F20485454502F312E310D0A4163636570743A20746578742F68746D6C2C206170706C69636174696F6E2F7868746D6C2B786D6C2C202A2F2A0D0A4163636570742D4C616E67756167653A20656E2D55532C656E3B713D302E350D0A557365722D4167656E743A204D6F7A696C6C612F352E30202857696E646F7773204E5420362E333B20574F5736343B2054726964656E742F372E303B2072763A31312E3029206C696B65204765636B6F0D0A4163636570742D456E636F64696E673A20677A69702C206465666C6174650D0A486F73743A206363333030302E6C6F63616C0D0A444E543A20310D0A436F6E6E656374696F6E3A204B6565702D416C6976650D0A0D0A 06/01/2011 00:04:32 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:32 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1004, Payload: 0404100D00030000000801000000000000 RECV Command Response on socket 3. Bytes pending: 264, Flags: 0 06/01/2011 00:04:32 Sending (9013) - 01001100000104100C03000000000200000000000000 06/01/2011 00:04:32 New Response Received (1004) - 0404100D00030000000000000000000000 Adding special Opcode: 9013 Handling Response for OpCode: 1885, Payload: 0285182001030000000C00000008010000000000000000000000000000474554202F20485454502F312E310D0A4163636570743A20746578742F68746D6C2C206170706C69636174696F6E2F7868746D6C2B786D6C2C202A2F2A0D0A4163636570742D4C616E67756167653A20656E2D55532C656E3B713D302E350D0A557365722D4167656E743A204D6F7A696C6C612F352E30202857696E646F7773204E5420362E333B20574F5736343B2054726964656E742F372E303B2072763A31312E3029206C696B65204765636B6F0D0A4163636570742D456E636F64696E673A20677A69702C206465666C6174650D0A486F73743A206363333030302E6C6F63616C0D0A444E543A20310D0A436F6E6E656374696F6E3A204B6565702D416C6976650D0A0D0A Data Received -- Socket Message Received onDataReceived -- 3 New Message Received: GET / HTTP/1.1 Accept: text/html, application/xhtml+xml, */* Accept-Language: en-US,en;q=0.5 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko Accept-Encoding: gzip, deflate Host: cc3000.local DNT: 1 Connection: Keep-Alive Sending 84 bytes of data on socket 3 Sending 276 bytes of data on socket 3 06/01/2011 00:04:33 Sending (1003) - 01006900000281106400030000000C0000005400000000000000485454502F312E3120323030204F4B0D0A436F6E74656E742D547970653A20746578742F68746D6C0D0A436F6E74656E742D4C656E6774683A203237360D0A436F6E6E656374696F6E3A20636C6F73650D0A0D0A 06/01/2011 00:04:33 New Response Received (1003) - 04031009000300000054000000 06/01/2011 00:04:33 Sending (1003) - 01012900000281102401030000000C00000014010000000000003C68746D6C3E3C686561643E3C6D65746120687474702D65717569763D22726566726573682220636F6E74656E743D223130223E3C2F686561643E3C626F64793E3C666F6E7420666163653D2276657264616E61223E3C68313E54686520434333303030204D616E61676564204472697665723C2F68313E3C703E666F72202E4E4554204D6963726F4672616D65776F726B3C2F703E3C703E54686973206973206A7573742074686520626567696E6E696E67203A293C2F703E3C703E3C6120687265663D22687474703A2F2F6363333030302E636F6465706C65782E636F6D223E566973697420757320617420436F6465706C6578213C2F613E3C2F703E3C2F666F6E743E3C2F626F64793E3C2F68746D6C3E 06/01/2011 00:04:33 New Response Received (1003) - 04031009000300000014010000 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1004, Payload: 0404100D00030000000000000000000000 RECV Command Response on socket 3. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 1003, Payload: 04031009000300000054000000 Sent 84 bytes on Socket 3 Handling Response for OpCode: 1003, Payload: 04031009000300000014010000 Sent 276 bytes on Socket 3 06/01/2011 00:04:33 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:33 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:33 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:33 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:33 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:33 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:33 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:33 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:34 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:34 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:34 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:34 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:34 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:34 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:34 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:34 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 *** Beat *** Queue: 0, Unhandled Responses: 0 06/01/2011 00:04:34 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:34 New Response Received (100D) - 040D100D00010000006400000000000000 Adding special Opcode: 9021 06/01/2011 00:04:35 New Response Received (1884) - 0284187C00010000000C00000064000000000000 ... GotData - 0284187C00010000000C000000640000000000000002000089C0A80159C3BE011000010000000000002046484641454245454341434143414341434143414341434143414341434141410000200001C3BE011000010000000000002046484641454245454341434143414341434143414341434143414341434141410000200001 Handling Response for OpCode: 100D, Payload: 040D100D00010000006400000000000000 RECV Command Response on socket 1. Bytes pending: 100, Flags: 0 06/01/2011 00:04:35 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:35 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 1884, Payload: 0284187C00010000000C000000640000000000000002000089C0A80159C3BE011000010000000000002046484641454245454341434143414341434143414341434143414341434141410000200001C3BE011000010000000000002046484641454245454341434143414341434143414341434143414341434141410000200001 Data Received -- Socket Message Received NetBIOS Message Detected from IP: 192.168.1.89 Netbios name query for: WPAD Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:35 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:35 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:35 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:35 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:35 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:35 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:35 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:35 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:36 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:36 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:36 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:36 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:36 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:36 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:36 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:36 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 *** Beat *** Queue: 0, Unhandled Responses: 0 06/01/2011 00:04:37 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:37 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:37 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:37 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:37 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:37 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:37 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:37 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:37 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:37 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:38 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:38 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:38 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:38 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:38 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:38 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:38 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:38 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 *** Beat *** Queue: 0, Unhandled Responses: 1 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:38 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:38 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:39 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:39 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:39 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:39 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:39 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:39 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:39 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:39 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:40 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:40 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:40 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:40 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:40 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:40 New Response Received (8200) - 0400820100 06/01/2011 00:04:40 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:40 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 8200, Payload: 0400820100 Keep Alive 06/01/2011 00:04:40 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:40 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 *** Beat *** Queue: 0, Unhandled Responses: 0 06/01/2011 00:04:40 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:40 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 06/01/2011 00:04:40 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:40 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:41 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:41 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:41 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:41 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:41 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:41 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:41 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:41 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:42 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:42 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:42 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:42 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 06/01/2011 00:04:42 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:42 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:42 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:42 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 *** Beat *** Queue: 0, Unhandled Responses: 0 06/01/2011 00:04:43 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:43 New Response Received (100D) - 040D100D00010000000000000000000000 Adding special Opcode: 9021 Handling Response for OpCode: 100D, Payload: 040D100D00010000000000000000000000 RECV Command Response on socket 1. Bytes pending: 0, Flags: 0 06/01/2011 00:04:43 Sending (9020) - 0100110000010D100C00000000000200000000000000 06/01/2011 00:04:43 New Response Received (100D) - 040D100D00000000000000000000000000 Adding special Opcode: 9020 Handling Response for OpCode: 100D, Payload: 040D100D00000000000000000000000000 RECV Command Response on socket 0. Bytes pending: 0, Flags: 0 Last Activity on socket 3 was 10 seconds ago. Sending Command to Close Socket 3 06/01/2011 00:04:43 Sending (100B) - 0100090000010B10040300000000 06/01/2011 00:04:43 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:43 Sending (9020) - 0100110000010D100C00000000000200000000000000 *** Beat *** Queue: 0, Unhandled Responses: 0 06/01/2011 00:04:45 Sending (9021) - 0100110000010D100C01000000000200000000000000 06/01/2011 00:04:45 Sending (9020) - 0100110000010D100C00000000000200000000000000 Socket 3 did not close. Childsocket is null? False, ChildSocket is closed? True 06/01/2011 00:04:46 - Starting Accept for socket 2 06/01/2011 00:04:46 Sending (9002) - 0100090000010510040200000000 *** Beat *** Queue: 0, Unhandled Responses: 0 Watchdog Check 06/01/2011 00:04:46 Sending (400B) - 0100050000010B400002 Device appears dead, restarting... Accept Response was null Shutting down CC3000... Starting up CC3000... 06/01/2011 00:04:55 Sending - Simple Link Start 06/01/2011 00:04:55 Sending (4000) - 01000500000100400100 06/01/2011 00:04:56 New Response Received (4000) - 0400400100