I have a setup of two esp8266
-) ap sta mode (esp8266 A).
-) connected to the first ones AP ( esp8266 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.
a)The hostname on B has been correctly configured using the #include <ESP8266mDNS.h> and has been tested and can be resolved but it seems esp8266 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 ?
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 for any ideas!