Re: P2P: ESP in AP mode and ESP in STA mode not working
Posted: Mon Feb 26, 2018 8:24 pm
Martin, Thanks for the MyAPClient an Server. I got them to work and am now trying to learn from them. My aim is to get to the TCP communication. I'm trying to read an accelerometer in a high vibration environment (a tennis racket) transmit this data from the on-racket ESP8266-client to a ESP8266-server that sits on a bench and collects the data on a SD card. But for the moment, learning... your many posts and the Kolban book have been great help.
Is the statement "server.handleClient();" in the MyAPServer loop persistently called? It appears so. That would mean it is checked 125 or 500 times each blink. If so, that would look like a persistent connection I was looking for. Further, that would lead me to think that I could leave the client connection on full time during a data collection session. Would that be okay?
Is the statement "server.handleClient();" in the MyAPServer loop persistently called? It appears so. That would mean it is checked 125 or 500 times each blink. If so, that would look like a persistent connection I was looking for. Further, that would lead me to think that I could leave the client connection on full time during a data collection session. Would that be okay?