-->
Page 1 of 1

need better documentation on AT firmware/sockets/routing

PostPosted: Sat Aug 08, 2015 9:08 pm
by JohnC
Ive just started exploring the esp-01, I must say Im impressed with the range/size/power/features.

some of this stuff I can probably figure out with more experiments, but ive been searching and searching for better docs...

a) if the module is in STA+AP mode, it sets up two different networks, each with its own IP. The STA takes on the IP from the external AP it connects to, while the AP uses a programmed IP it assigns to clients also.
So, when I open a TCP client or server... which network is it on? Both??

b) the esp does not appear to route packets. in ap mode, i can connect two devices. each device can see itself and the ESP, but neither can see each other, nor send data to each other.
Thats the same in STA+AP mode.. a device connected to the esp's AP cannot see the esp's STA address, nor the upstream router the STA is connected to.

So how can I use STA+AP mode? It seems I must attach a microcontroller to parse strings and packets from the AP side, then resend them from the STA side... but the AT commands to set up TCP sockets dont seem to indicate whether they are STA or AP. or both?

my esp chip apparently has older firmware. ip adressess dont show or allow me to set netmask or gateway? or do I get ERROR because I dont know how to set these addresses up?
(i dont have _cur or _def commands, either.

Oh, and very important... how can i reset to factory defaults if perhaps I set the UART baud rate too high, then cant reconnect to change it back?

Ive got more questions, but thats a start. Most of the docs I see gloss over important details and steer me toward the 'arundio' sdk or whatever. I dont currently have a linux platform, nor much experience there beyond telneting into linux devices command line shells to write/run basic .sh scripts, and basic file cp and mv chmods, mount remount, whatever.

Im simply logging into the ESP using a 3.3volt propeller 8 core microcontroller and using simple serial i/o. Is there a way to signal the ESP to wait before sending more data? The ESP has more buffer space than my microcontroller! Thats a very important question.
feel free to advise me! I will do what I can to help with my flavor of expertise. Its all RAW, "native code"