Search found 7 matches
- Wed Aug 29, 2018 1:38 pm
- Forum: General Discussion
- Topic: HTTP server on AP and STA
- Replies: 3
- Views: 8630
Re: HTTP server on AP and STA
Hi Angus, Thanks for the answer, that was the problem! The AP netmask is 255.255.255.0. Changing the AP address to 192.168.5.0/24 fixed the issue. Also, to get it to work I have to use 2 tasks. One with netconn bound to the STA IP (192.168.4.106) and one to the softAP IP (192.168.5.1). When I used n...
- Wed Aug 29, 2018 10:35 am
- Forum: General Discussion
- Topic: HTTP server on AP and STA
- Replies: 3
- Views: 8630
Re: HTTP server on AP and STA
Hi, I am still trying to get an HTTP server to work on the STA interface when the WiFi mode is set to WIFI_MODE_APSTA. In the code below, instead of using IP_ADDR_ANY to bind netconn, I have tried to specify the esp address on my local network: 192.168.4.106. It did not work :(. Netconn_bind does no...
- Tue Aug 21, 2018 11:36 am
- Forum: General Discussion
- Topic: HTTP server on AP and STA
- Replies: 3
- Views: 8630
HTTP server on AP and STA
Hi, I am trying to run and HTTP server on both SoftAP and STA interfaces simultaneously so that the same web page is displayed when connecting to the ESP32 via the SoftAP or when connecting to the same router as the ESP32 STA interface. When in STA mode, I can access the web page. However, when in S...
- Thu Jul 05, 2018 8:46 am
- Forum: ESP-IDF
- Topic: Getting RSSI in AP mode
- Replies: 0
- Views: 3104
Getting RSSI in AP mode
Hi all, I have an application running in AP + STA mode. When the AP is connected to a network, I display the RSSI of this connection using esp_wifi_sta_get_ap_info. Everything works fine until I scan the access points available: esp_wifi_scan_start + esp_wifi_scan_get_ap_records. From this point, es...
- Mon May 28, 2018 3:38 am
- Forum: General Discussion
- Topic: SoftAp with Domain Name
- Replies: 5
- Views: 15172
Re: SoftAp with Domain Name
Howdy Kolban, The idea here is to have a webserver and a DNS server implemented on the same ESP32 SoftAP. I think it works this way: 1- Client connects to the ESP32 SoftAP 2- Client web browser sends a DNS resolution request for www.xxx.com to the ESP32 (UDP port 53) 3- ESP32 resolve DNS request and...
- Fri May 25, 2018 5:33 am
- Forum: ESP32 Arduino
- Topic: Analog inputs from ESP32 more than random generators?
- Replies: 4
- Views: 14275
Re: Analog inputs from ESP32 more than random generators?
Hi, I haven't tried the ESP32 ADC yet, but what you describe looks a lot like a hardware issue. Your oscilloscope has a nice front-end amplifier with a high impedance. This is not the case of the ESP32 (and most MCU). So depending on where and when you probe your analog signal, the oscillos and MCUs...
- Fri May 25, 2018 4:12 am
- Forum: General Discussion
- Topic: SoftAp with Domain Name
- Replies: 5
- Views: 15172
SoftAp with Domain Name
Hello, Is there an ESP-IDF example for a webserver with a domain name in SoftAP mode? The examples I found use the IP address to access the webserver. Couldn't find any using a domain name as www.xxx.com. I suppose I need a DNS server running on the SoftAP to do a redirect to the ESP32 IP address. B...