ESP8266 STA mode TCP Client serial data passthrough

Module chip: Esp8266EX

Development Environment: Arduino IDE

Program: routing module is connected via a network, TCP connection establishment Sokcet Client server module through the serial data may interact with the server;

Here Insert Picture Description
Code is as follows:

#include <ESP8266WiFi.h>
#define HostPort 8080  //目标服务器端口
void smartConfig(void)

Guess you like

Origin blog.csdn.net/chen20171013/article/details/105326248