AT+GMR
AT version:1.2.0.0(Jul 1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
Ai-Thinker Technology Co. Ltd.
Dec 2 2016 14:21:16
OK
- https://github.com/esp8266/esp8266-wiki/wiki
- https://www.esp8266.com/wiki/doku.php?id=at_commands
- http://bbs.smartarduino.com/showthread.php?tid=11
- https://github.com/SmartArduino/SZDOITWiKi/wiki
- https://fineshang.gitbooks.io/esp8266-based-serial-wifi-shield-for-arduino-user/content/index.html
- https://www.esp8266.com/viewtopic.php?f=6&t=811
- https://github.com/espressifapp
- http://ediy.com.my/blog/item/133-upload-sketch-to-the-esp8266-esp-07-esp-12-using-arduino-ide
- https://www.youtube.com/watch?v=qbkN8MURIWU
- https://github.com/espressif/ESP8266_AT/wiki
- http://www.electrodragon.com/w/ESP8266_AT-Command_firmware
AT+CIPMUX=0
AT+CIPMODE=1
AT+CIPSTART="UDP","192.168.4.1",9000,9000,0
AT+CIPSEND
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 29960, room 16
tail 8
chksum 0x1c
load 0x3ffe8000, len 2140, room 0
tail 12
chksum 0xf8
ho 0 tail 12 room 4
load 0x3ffe8860, len 9340, room 12
tail 0
chksum 0xce
csum 0xce
OS SDK ver: 1.5.0-dev(950076a) compiled @ Nov 4 2016 19:29:32
phy ver: 1055, pp ver: 10.7
rf cal sector: 251
tcpip_task_hdl : 3fff3ee0, prio:10,stack:512
idle_task_hdl : 3fff3f80,prio:0, stack:384
tim_task_hdl : 3fff6538, prio:2,stack:512
esp-07 start
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 1856, room 16
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0x79
csum 0x79
2nd boot version : 1.5
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000
rf cal sector: 249
rf[112] : 00
rf[113] : 00
rf[114] : 01
SDK ver: 1.5.4.1(39cb9a32) compiled @ Jul 1 2016 20:04:35
phy ver: 972, pp ver: 10.1
UPDATE UTÁN
- https://imgur.com/a/scUhdSB
- https://www.espressif.com/en/support/download/at
- https://www.espressif.com/sites/default/files/ap/ESP8266_AT_Bin_V1.6.2_0.zip
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 2592, room 16
tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8
tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4
tail 0
chksum 0x22
csum 0x22
2nd boot version : 1.7(5d6f877)
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000
rf cal sector: 251
freq trace enable 1
rf[112] : 03
rf[113] : 00
rf[114] : 01
SDK ver: 2.2.1(6ab97e9) compiled @ Jun 7 2018 13:59:14
phy ver: 1136_0, pp ver: 10.2
AT+GMR
AT version:1.6.2.0(Apr 13 2018 11:10:59)
SDK version:2.2.1(6ab97e9)
compile time:Jun 7 2018 19:34:26
Bin version(Wroom 02):1.6.2
OK
programing
#include <ESP8266WiFi.h>
#include <WiFiUDP.h>
const char* ssid = "test2";
const char* pw = "12345678";
char packet[255] ={};
WiFiUDP Server;
void setup() {
Serial.begin(115200);
//setup AP
WiFi.mode(WIFI_AP);
WiFi.softAP(ssid,pw,11);
WiFi.begin();
Serial.println("AP started at: ");
Serial.print(WiFi.softAPIP());
Server.begin(9000);
Serial.println("Server started...");
}
void loop() {
int packetSize = Server.parsePacket();
IPAddress remoteIP;
int remotePort = 0;
if(packetSize)
{
remoteIP = Server.remoteIP();
remotePort = Server.remotePort();
Serial.printf("Received %d bytes from %s, port %d\n", packetSize, remoteIP.toString().c_str(), remotePort);
int len = Server.read(packet, 255);
if (len > 0)
{
packet[len] = 0;
}
Serial.printf("UDP incoming packet contents: %s\n", packet);
}
if(Serial.available() && remotePort > 0){
int i = 0;
while(Serial.available()){
packet[i]=Serial.read();
i++;
}
packet[i]=0;
Serial.printf("Send %d bytes from %s, port %d\n", i, remoteIP.toString().c_str(), remotePort);
Serial.printf("UDP outgoing packet contents: %s\n", packet);
Server.beginPacket(Server.remoteIP(), Server.remotePort());
Server.write(packet);
Server.endPacket();
}
delay(100);
if(WiFi.status()==!WL_CONNECTED)
{
Serial.print(".");
delay(100);
}
}
Hi
Thank you for all the info
Following your instructions i get this error
Setting up as follows
Can you gif some info about it ?