Search found 10 matches
- Thu Feb 28, 2019 4:06 am
- Forum: ESP-IDF
- Topic: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
- Replies: 18
- Views: 23177
Re: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
Hi Ritesh, Thanks for you reply! I still working with this issue, but no idea yet :( Yeah, you are right, My ESP32 device is working on AP mode, and at the booting time, I've set the reset the IP address and the gateway. here is the code that I setting the Ip address and the gateway: tcpip_adapter_i...
- Mon Feb 25, 2019 8:28 am
- Forum: ESP-IDF
- Topic: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
- Replies: 18
- Views: 23177
Re: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
hello, does any body have idea?
- Sat Feb 23, 2019 5:10 pm
- Forum: ESP-IDF
- Topic: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
- Replies: 18
- Views: 23177
Re: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
ah..call the tcpip_adapter_set_ip_info again in the SYSTEM_EVENT_AP_START is not work, connect the AP, and after 10-15 seconds, the internet on my iOS device is not unavailable.
- Sat Feb 23, 2019 4:39 pm
- Forum: ESP-IDF
- Topic: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
- Replies: 18
- Views: 23177
Re: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
after the tcpip_adapter_init called, I've set a static ip to my AP: tcpip_adapter_ip_info_t info; memset(&info, 0, sizeof(info)); IP4_ADDR(&info.ip, 192, 168, 1, 1); IP4_ADDR(&info.gw, 192, 168, 1, 1);//ESP acts as router, so gw addr will be its own addr IP4_ADDR(&info.netmask, 255, 255, 255, 0); ES...
- Sat Feb 23, 2019 4:22 pm
- Forum: ESP-IDF
- Topic: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
- Replies: 18
- Views: 23177
Re: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
@WiFive Thanks for your reply, I have read the link you provide for serval times, and do some search for "clear gateway address" and other similarly, but still no idea how to do that.. the following is the public function in dhcpserver.h, which one can I use to clear gateway address? void dhcps_star...
- Sat Feb 23, 2019 8:39 am
- Forum: ESP-IDF
- Topic: internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
- Replies: 18
- Views: 23177
internet unavailable when connected to AP(Wi-Fi) of ESP32 DevKit,
Hi, I'm writing a program that working with AP mode on ESP32 DevKit, but when my iOS device connected to the AP that created by ESP32, my iOS can't access internet. but when I use other type of AP(e.g the AP of GoPro camera), even I connected them, I still can use my Cellular network to access inter...
- Sat Feb 23, 2019 8:26 am
- Forum: ESP-IDF
- Topic: when using remote_endpoint().address() of asio, make failed( undefined reference to `if_indextoname(unsigned int, char*)
- Replies: 1
- Views: 3311
Re: when using remote_endpoint().address() of asio, make failed( undefined reference to `if_indextoname(unsigned int, ch
I finally solved it. just use raw socket func: getpeername. done!
- Thu Feb 21, 2019 6:27 am
- Forum: ESP-IDF
- Topic: when using remote_endpoint().address() of asio, make failed( undefined reference to `if_indextoname(unsigned int, char*)
- Replies: 1
- Views: 3311
when using remote_endpoint().address() of asio, make failed( undefined reference to `if_indextoname(unsigned int, char*)
Hi guys, I'm writing a tcp server in the ESP32, everything work fine, but when I add the following code to my program, it will make failed, and tell me undefined reference to `if_indextoname(unsigned int, char*) . this is the code will cause the link error: this->acceptor->async_accept([this](std::e...
- Thu Feb 21, 2019 3:04 am
- Forum: ESP-IDF
- Topic: when send large data(greater 120 bytes) to UART1, esp32 will creah
- Replies: 2
- Views: 4544
Re: when send large data(greater 120 bytes) to UART1, esp32 will creah
to ESP_igrr:
hey! You are awesome! the point is what you said, I just change it to gpio4 and gpio 5, it work like a cham, thank you so much!
hey! You are awesome! the point is what you said, I just change it to gpio4 and gpio 5, it work like a cham, thank you so much!
- Sat Feb 16, 2019 1:35 pm
- Forum: ESP-IDF
- Topic: when send large data(greater 120 bytes) to UART1, esp32 will creah
- Replies: 2
- Views: 4544
when send large data(greater 120 bytes) to UART1, esp32 will creah
hi guys, I'm working on the ESP32 DevKit, and I writing a program on esp32 to send data to UART1(GPIO10, GPIO9), I using a USB-TTL tool to connect the UART1 on ESP32 DevKit to my Mac OS X, and send data to UART1 through a serial tools on the Mac. But when I sent a large data that about 100-700 bytes...