ESP8266 Developer Zone The Official ESP8266 Forum 2017-09-23T21:38:01+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=6401 2017-09-23T21:38:01+08:00 2017-09-23T21:38:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6401&p=15964#p15964 <![CDATA[Re: Break Transparent Transmission Mode from WiFi-End OR autostart UDP-listener/connect to TCP-server at power-up]]>
the "+++" is not recognized as a stop command when it comes in on the wifi-end. That works only when it is put in from uart-side and I have no access to the µC running at the uart-end.

How can I call a custom command at every µC start?

Statistics: Posted by wanderzirkus — Sat Sep 23, 2017 9:38 pm


]]>
2017-09-19T16:01:56+08:00 2017-09-19T16:01:56+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6401&p=15856#p15856 <![CDATA[Re: Break Transparent Transmission Mode from WiFi-End OR autostart UDP-listener/connect to TCP-server at power-up]]> Or just connect to the server by AT+CIPSTART in every power on.

Statistics: Posted by Her Mary — Tue Sep 19, 2017 4:01 pm


]]>
2017-09-14T23:42:01+08:00 2017-09-14T23:42:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6401&p=15768#p15768 <![CDATA[Break Transparent Transmission Mode from WiFi-End OR autostart UDP-listener/connect to TCP-server at power-up]]>
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


]]>