Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

+IPD is missing every time #21

Open
@varshakiragi

Description

Hi Team,
I created TCP socket connection to a TCP Server. Next SSL handshake is intiated. Client has sent Hello msg and TCP Server replied with Hello msg, Cipher suite and Certificate. TCP Server sends this reply in multiple messages to TCP client - This has been verified in Wireshark logs.
But ESP8266 acting as TCP Client is not sending any +IPD messages to my application.

Following are the commands sent to ESP8266 from my application:
AT\r\n
\r\nOK\r\n

AT+GMR\r\n
AT version:1.2.0.0(JuL 1 2016 20:04:45)\r\n
SDK version:1.5.4.1(39cb9a32)\r\n
Ai-Thinker Technology Co Ltd.\r\n
Dec 2 2016 14:21:16
\r\nOK\r\n

AT+CWMODE_CUR=1\r\n
\r\nOK\r\n

AT+CIPMUX=1\r\n
\r\nOK\r\n

AT+CWJAP_CUR?\r\n
No AP\r\n
\r\nOK\r\n

AT+CWJAP_CUR="XXXX",""\r\n
WIFI CONNECTED\r\n
WIFI GOT IP\r\n
\r\nOK\r\n

AT+CWJAP_CUR?\r\n
+CWJAP_CUR:"XXXX","64:a2:f9:56:d6:c3",5,-49\r\n
\r\nOK\r\n

AT+CIFSR\r\r\n
+CIFSR:STAIP,"192.168.43.37"\r\n
+CIFSR:STAMAC,"bc:dd:c2:fe:20:df"\r\n
\r\nOK\r\n

AT+CIPDOMAIN="a2......com"\r\n
+CIPDOMAIN:52.41.230.253\r\n
\r\nOK\r\n

AT+CIPSTART=0,"TCP","52.41.230.253",8883\r\n
0,CONNECT\r\n
\r\nOK\r\n

AT+CIPSEND=0,159\r\n
\r\nOK\r\n> \r\n
** 159 bytes are sent from application **
Recv 159 bytes\r\n
SEND OK\r\n

** Here Expected is +IPD msg. Since no msg was recieved, application closed the socket **

AT+CIPCLOSE=0\r\r\n
0,CLOSED\r\n
\r\nOK\r\n

Is there anything needs to be done to get +IPD msg OR is it issue with ESP8266 in handling multiple TCP packets at a time?

Please let me know how to proceed with this issue?
Thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions