Hi there,
Trying to figure out the following but I think I am in need of some help from more expert programmers.
I have a setup of two esp32 both with ap_sta
-) ap_sta mode (esp32 A).
-) connected to the first ones AP ( esp32 B)
The A is connected to the local router and has access to the internet.
Also A creates an AP.
The B can connect to the A's AP but the A cannot find it by hostname set up with esp32mdns.
a) The hostname on A and B has been correctly configured using the #include <esp32mDNS.h> and has been tested and can be resolved but it seems esp32 A cannot find the B board by hostname ( although it's connected to it ). It can only acces it by IP.
Any ideas why is that ?
espA http request by hostname on espB http code -1
----------------------------------------------->
computer http request by hostname on espA success
computer http request by hostname on espB success
b) B cannot connect to the internet when connected to the A's AP. Seems like that the STA AP mode in A is not routing the requests of B to the internet. Is it possible for B to connect to the internet through A's AP.
Looking forward to any ideas!
Cheers
st_ap mdns questions
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 104 guests
- All times are UTC
- Top
- Delete 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. ESP8266EX and ESP32 are some of our products.