You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setup begin
FW Version:AT version:0.21.0.0
SDK version:0.9.5
to station ok
Join AP success
IP:+CIFSR:STAIP,"192.168.1.104"
+CIFSR:STAMAC,"18:fe:34:f8:c0:39"
setup end
create tcp err
create tcp err
create tcp err
I don't know Why it cannot connect to TCP. Please help me?
Is it not connecting, or is it just saying it isn't? wifi.createTCP(HOST_NAME, 80) returns false for me too, but wifi.send((const uint8_t*)hello, strlen(hello)); still sends the data (sometimes).
My program is shown
setup begin
FW Version:AT version:0.21.0.0
SDK version:0.9.5
to station ok
Join AP success
IP:+CIFSR:STAIP,"192.168.1.104"
+CIFSR:STAMAC,"18:fe:34:f8:c0:39"
setup end
create tcp err
create tcp err
create tcp err
I don't know Why it cannot connect to TCP. Please help me?
`
include "ESP8266.h"
include<SoftwareSerial.h>
define SSID "MTHGROUP"
define PASSWORD "mth21444"
define HOST_NAME "184.106.153.149"
SoftwareSerial esp8266(3,2);
ESP8266 wifi(esp8266,9600);
void setup()
{
Serial.begin(9600);
esp8266.begin(9600);
Serial.print("setup begin\r\n");
}
void loop()
{
uint8_t buffer[1024] = {0};
while(1){
if (wifi.createTCP(HOST_NAME, 80)) {
Serial.print("create tcp ok\r\n");
break;
} else {
Serial.print("create tcp err\r\n");
}
The text was updated successfully, but these errors were encountered: