Hi,
I'm trying to implement UPNP IGD port forwarding using the espconn api.
I create a connection to the router and then:
1) On the connected callback (espconn_regist_connectcb) I send the GET request for the IGD description using espconn_send;
2) on the receive callback (espconn_regist_recvcb) I parse the IGD description (which needs 4 tcp packets) and I send a request (espconn_send) asking if a port is open;
3) I receive the response on the same callback (espconn_regist_recvcb), if the port is free I send the mapping request (espconn_send).
All the tcp packets can be seen in this pcap: http://s000.tinyupload.com/?file_id=00012444369366896292
My problem is that there isn't a ACK for the second request, which makes the router re-transmit the 2) response.
And my last request isn't sent either, espconn_send doesn't return any error, but the pcap can't capture the packet.
Why isn't the ACK being sent?
Espconn api not ACKing tcp packets
Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.