-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mesh -> "with-router" example doesn't work with espressif IDF softAP #71
Comments
|
First log from
Looks like that on the app: And now the log from mdf example:
While the app doesn't see any new client connection |
Ret = connect(sockfd, (struct sockaddr *)&server_addr, sizeof(struct sockaddr_in));
MDF_ERROR_GOTO(ret < 0, ERR_EXIT, "<%s> socket connect, ret: %d, ip: %s, port: %d",
Strerror(errno), ret, ip, port); |
Changed to fixed IP -> 192.168.4.50 ✖ iPhone TCP Server.......................<-softAP->........WROOM ESP-MDF router sample
I'll try dedicated router tomorrow. |
✔ iPad TCP Server.......................<-Hardware AP->........WROOM ESP-MDF router sample The question remains why I can't use the espressif softAP running on a WROOM with this specific example - when all other combinations of TCP communication work. As I need to use an ESP32 as "router" in my specific project I have no other choice as to investigate this issue further. Any help would be great! |
maybe interesting I get an other error, when I try:
This error occurs immediately, while in the other config: ✖ WROOM ESP-MDF router sample.....<-softAP->........iPhone TCP Server
the other error occurs after 30s or so. Still this works fine: |
@cgfoed We will fix ESP32 as a softap issue as soon as possible. Once we fix it, we will notify you immediately. You are temporarily using a router for testing. |
Thanks! |
Hello @zhanzhaocheng , I have the same problem using esp-mdf router example. Can you explan me how can I fix this erro: `I (16945) mesh: write layer:0 I (19626) mesh: [scan]new scanning time:600ms, beacon interval:300ms |
After some debugging I'm quite confident that there is a bug in
https://github.com/espressif/esp-mdf/tree/master/examples/function_demo/mwifi/router
I always get the error
W (67050) [router_example, 59]: socket connect, ret: -1, ip: 192.168.4.1, port: 8070
What is working:
I got every samplecode working so fart - except function_demo/mwifi/router
Tried hard coding IP and Server to socket_tcp_client_create and different IP / Port configs i've got no clue to where to look for the error now
The text was updated successfully, but these errors were encountered: