pls forgive me the lengthy title, but as complex at is sound as easy is the goal I want to reach:
I want the ESP to establish a connection to a server on power-up. After this it should be able to execute AT-commands via WiFi (Mainly to manipulate one of the GPIOs) and also transmit messages coming over WiFi to the UART interface and vice versa.
With the AT+SAVETRANSLINK command this is possible and it is working pretty stable, but it puts the ESP in transparent transmission mode where it doesn't execute any AT-commands, because they are transmitted directly to the client sitting at the UART-end also.
As I need the AT-GPIO trigger only once per session (to wake up the processor connected to the ESP) the solution with the least effort would be to stop the transparent transmission by "+++", trigger the GPIO via AT-command and enter it again with AT+CIPSEND. Sadly the "+++" sequence is stopping the transparent transmission only from UART-side but not from the wifi-side. Is that intended this way? Or even better: Does it work from WiFi-side and I am just doing something wrong?
Another solution would be to listen for UDP-packets or even connect to a TCP-server automatically after power-up - without starting transparent transmission immediatly. But I didn't see a possibility to set this up without flashing own SDK-extending software on the chip.
I hope somebody can help me out of this if an easy and convenient way to achive it exists. 
Thanks and greetings! 
Statistics: Posted by wanderzirkus — Thu Sep 14, 2017 11:42 pm
]]>