-->
Page 1 of 2

[Newbie ESP8266] Questions

PostPosted: Tue Oct 28, 2014 1:12 pm
by saper_2
Hi,

I have got today few modules of this tiny UART-WiFi interface. I've got PCB type 1 from aliExpress, ordered at 2014-09-20, got today: 2014-10-28 - quiet good time :) as for me.

After toying with one module I got those questions:

Q1. Is possible to set static IP to module (is there AT-command for doing it)?

Q2. Where I can grab compiled good and working firmware (more or less latest one)?

Q3. How I decode version from +GMR ?
Code: Select allAT+GMR

00160901

OK

Q4. What means codes of +CIPSTATUS ? I had encountered 2 and 4 so far...


Ad.Q4. I have checked them against SIM900 at command set, but I don't think they match :/
Sorry for my questions but I did not found answers. And sorry if my English is is hard to understand.

Re: [Newbie ESP8266] Questions

PostPosted: Fri Oct 31, 2014 8:54 am
by Borstenhorst
A1: Ap or station mode? for sation mode you have to change the DHCP settings of your AP, for AP mode there is no such AT command.
I quickly had a look at the SDK and could not find the 192.168.4.1 somewhere but it should be changeable with a custom firmware or maybe newer offical FWs will support this feature.
A2: New firmwares have an update command, you can use it to get the latest AT firmware, this AT+Command Software is just one example on how to use the ESP8266. http://blog.electrodragon.com/cloud-upd ... p8266-now/
A3: First part is AT+Command version, second part is SDK version
A4: tells you which connections are active, 4 means no connections are open, I have a status 3 if I open a connection from the chip to a server and what other numbers mean, I don't know. But its just the connection status basically, I use this status to check if a connection was opened successfully before I start to transmit data (or you use the "link" notification")

Re: [Newbie ESP8266] Questions

PostPosted: Fri Oct 31, 2014 10:30 am
by picstart1
AT+GMR receives 00160901 ...possibly 0016 is the software and 0901 the AT+ dialect. Assuming this is true then the AT+ documentation should reference the 0901 like version number at least in the footnotes if the latest version has a new command. Sadly except for the 9 ...I see no simple correlation to the naming of bin files Ex.for expressifs v0.9.2.2 AT Firmware.bin AT+GMR gives 0019000902...Most successful development has precision in the naming of things....Ex if the version is an odd number it is a pre-release and even number a release...So far esp8266 firmware lacks release conventions or not easily discernible conventions due to lack of documentation. I don't get this ... a major OEM using this chip must be getting more accurate documentation than we have on this board so far

Re: [Newbie ESP8266] Questions

PostPosted: Fri Oct 31, 2014 10:45 am
by Borstenhorst
picstart1 wrote:AT+GMR receives 00160901 ...possibly 0016 is the software and 0901 the AT+ dialect.

I think I was wrong with my answer, its vice versa:

from the AT-example:
AT+GMR is executing
Code: Select all  os_sprintf(temp,"%04X%06X\r\n", AT_VERSION,SDK_VERSION);