I have two Node MCU 0.9.
First one: Set up to be a access point and also listens to port 15555. If there is a connection and something is received this is printed on an OLED display. Simple enough.
Second one: This one has a 1 wire temp sensor. It reads it, opens 15555 to the first one and writes the temperature as a string. Also simple enough.
As described above I could not get things to work properly. The first one starts up ok, I can connect to it from my PC and just writing some text to it with PuTTY on port 15555. Works like a charm!
The second one connects with it's Wifi. It gets an IP and everything looks ok. But it cannot connect to the 15555 port. I get an error when trying.
If I let them both connect to my Wifi router's SSID instead everything works perfectly.
Also, if I move down from 2.3.0 all the way to 2.0.0 things spring to life... Not 100% stable perhaps, but that might be my code.
I can't get the example sketches (only minimal changes) that uses AP to work between two modules either. To the PC it works fine.
It's just as if the second module don't get all needed info when connecting to the AP in the first one and therefore cannot connect.
Both modules can be pinged from the PC.
Try the AP sketch with a web server and try to connect to port 80 from another module. I just cant get it to connect using anything but 2.0.0.
Am I missing something?
Best regards, Jonas