ekstrand / ESP8266wifi

ESP8266 Arduino library with built in reconnect functionality

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sending string message to server via AP

RomanMedvedev opened this issue · comments

How can I send string messge to the server: example.com:8080 via AP on my mobile phone?

Can I use this code?
wifi.connectToAP("myaccesspoint", "password123");
wifi.connectToServer("example.com", "8080");
wifi.send("example.com", "Hello World!");

AT+CWJAP="ipxone","87654321"

OK
AT+CIFSR

192.168.4.1
172.20.10.6

OK
AT+CIPSTART=4,"TCP","google.com",80

Link typ ERROR