AT+CIFSR strange characters
Posted: Wed Nov 18, 2015 8:50 pm
Hi,
i'm using esp8266-01 with an Arduino nano.
I found a strange behaviour with AT+CIFSR command.
I put this sketch on Arduino to test.
If I send AT+CIFSR in station mode (AT+CWMODE=1) i receive:
AT+CIFSR
+CIFSR:STAIP,"192.168.1.213"
+CIFSR:STAMAC,"18:fe:34:a2:42:84"
OK
But if I send AT+CIFSR in station+Ap mode (AT+CWMODE=3) I receive:
AT+CIFSR
+CIFSR:APIP,"192.168.4.1"
+CIFSR:APMAC,"1a:fe:34:a2:42:84"
+CIFSR:STAIP,"192.16811
ISTC"::::8
O
I have:
AT version:0.22.b1.0
SDK version:0.9.6(b1)
but same behaviour with SDK 0.9.5.
What do you think about? Buffer problem?
Thanks.
i'm using esp8266-01 with an Arduino nano.
I found a strange behaviour with AT+CIFSR command.
I put this sketch on Arduino to test.
Code: Select all
#include <SoftwareSerial.h>
SoftwareSerial espSerial(7,8);
void setup(){
Serial.begin(57600);
espSerial.begin(57600);
}
void loop(){
if (Serial.available())
espSerial.write(Serial.read());
if (espSerial.available())
Serial.write(espSerial.read());
}
If I send AT+CIFSR in station mode (AT+CWMODE=1) i receive:
AT+CIFSR
+CIFSR:STAIP,"192.168.1.213"
+CIFSR:STAMAC,"18:fe:34:a2:42:84"
OK
But if I send AT+CIFSR in station+Ap mode (AT+CWMODE=3) I receive:
AT+CIFSR
+CIFSR:APIP,"192.168.4.1"
+CIFSR:APMAC,"1a:fe:34:a2:42:84"
+CIFSR:STAIP,"192.16811
ISTC"::::8
O
I have:
AT version:0.22.b1.0
SDK version:0.9.6(b1)
but same behaviour with SDK 0.9.5.
What do you think about? Buffer problem?
Thanks.