I have a project where I require to transmit sensor values from on esp (which is configured as station) to another esp (which is configured as access point).
In the nodemcu github wiki page I found wifi.setmode(wifi.STATIONAP), which can work as both access point and station. Can this work? Any example?
Can anybody point me to a sample script where esp module is utilized as simple repeater?
Edit:
Is there a way where I can transfer the TCP/MQTT packets from one AP to another in STATIONAP mode? Any Example?
Thank you.