Search found 10 matches

by jjmin.liang
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: 19569

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...
by jjmin.liang
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: 19569

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.
by jjmin.liang
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: 19569

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...
by jjmin.liang
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: 19569

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...
by jjmin.liang
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: 19569

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...
by jjmin.liang
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: 2880

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...
by jjmin.liang
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: 3977

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!
by jjmin.liang
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: 3977

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...

Go to advanced search