Skip to main content
Capitalization and breaking big block of text into paragraphs.
Source Link
user31481
user31481

You must configure the espESP as an apAP, if you want it to have it'sits own IP. You then set up a tcp-server on the espESP (i think there are example functions in the ideIDE). 

Keep in mind, that the communication (server/client you mentioned) has nothing to do with the way pcPC and espESP are connected with (whether the espESP is providing an accesspointAccess Point or logged into your wifiWiFi). Those are different protocol layers, which means you will not need to make any changes if you want pcPC and espESP communicate over your router at all. 

Actually the espESP (or at least for the esp8266ESP8266-12f12F I know for sure) is capable of running both ap and wificlient at the same time It's.

It's not a big difference to serial communication, you will need to poll for incomming messages in your loop if you want to run a server. Sending messages to your pcPC is like printing to the serial interface.

You must configure the esp as an ap, if you want it to have it's own IP. You then set up a tcp-server on the esp (i think there are example functions in the ide). Keep in mind, that the communication (server/client you mentioned) has nothing to do with the way pc and esp are connected with (whether the esp is providing an accesspoint or logged into your wifi). Those are different protocol layers, which means you will not need to make any changes if you want pc and esp communicate over your router at all. Actually the esp (or at least for the esp8266-12f I know for sure) is capable of running both ap and wificlient at the same time It's not a big difference to serial communication, you will need to poll for incomming messages in your loop if you want to run a server. Sending messages to your pc is like printing to the serial interface.

You must configure the ESP as an AP, if you want it to have its own IP. You then set up a tcp-server on the ESP (i think there are example functions in the IDE). 

Keep in mind, that the communication (server/client you mentioned) has nothing to do with the way PC and ESP are connected with (whether the ESP is providing an Access Point or logged into your WiFi). Those are different protocol layers, which means you will not need to make any changes if you want PC and ESP communicate over your router at all. 

Actually the ESP (or at least for the ESP8266-12F I know for sure) is capable of running both ap and wificlient at the same time.

It's not a big difference to serial communication, you will need to poll for incomming messages in your loop if you want to run a server. Sending messages to your PC is like printing to the serial interface.

added 492 characters in body
Source Link
Sim Son
  • 1.9k
  • 14
  • 21

You must configure the esp as an ap, if you want it to have it's own IP. You thenthen set up a tcp-server on the esp (i think there are example functions in the ide). Keep in mind, that the communication (server/client you mentioned) has nothing to do with the way pc and esp are connected with (whether the esp is providing an accesspoint or logged into your wifi). Those are different protocol layers, which means you will not need to make any changes if you want pc and esp communicate over your router at all. Actually the esp (or at least for the esp8266-12f I know for sure) is capable of running both ap and wificlient at the same time It's not a big difference to serial communication, you will need to poll for incomming messages in your loop if you want to run a server. Sending messages to your pc is like printing to the serial interface.

You must configure the esp as an ap, if you want it to have it's own IP. You then set up a tcp-server on the esp (i think there are example functions in the ide). Keep in mind, that the communication (server/client you mentioned) has nothing to do with the way pc and esp are connected with (whether the esp is providing an accesspoint or logged into your wifi).

You must configure the esp as an ap, if you want it to have it's own IP. You then set up a tcp-server on the esp (i think there are example functions in the ide). Keep in mind, that the communication (server/client you mentioned) has nothing to do with the way pc and esp are connected with (whether the esp is providing an accesspoint or logged into your wifi). Those are different protocol layers, which means you will not need to make any changes if you want pc and esp communicate over your router at all. Actually the esp (or at least for the esp8266-12f I know for sure) is capable of running both ap and wificlient at the same time It's not a big difference to serial communication, you will need to poll for incomming messages in your loop if you want to run a server. Sending messages to your pc is like printing to the serial interface.

Source Link
Sim Son
  • 1.9k
  • 14
  • 21

You must configure the esp as an ap, if you want it to have it's own IP. You then set up a tcp-server on the esp (i think there are example functions in the ide). Keep in mind, that the communication (server/client you mentioned) has nothing to do with the way pc and esp are connected with (whether the esp is providing an accesspoint or logged into your wifi).