ESP8266 Developer Zone The Official ESP8266 Forum 2015-10-28T10:35:05+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=1270 2015-10-28T10:35:05+08:00 2015-10-28T10:35:05+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1270&p=4327#p4327 <![CDATA[Re: sent and recieve "simultaneously"?]]>
Here is a guide, 4B-ESP8266__AT Command Examples.

Please refer to Chapter 4 in the documentation for UART - WiFi passthrough mode.

Statistics: Posted by ESP_Faye — Wed Oct 28, 2015 10:35 am


]]>
2015-10-28T04:51:36+08:00 2015-10-28T04:51:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1270&p=4321#p4321 <![CDATA[Re: sent and recieve "simultaneously"?]]>
Here is my UART Stream.....

Code:

AT+CIPSTART="TCP","192.168.1.102",80

CONNECT

OK
CLOSED
AT+CIPSTART="TCP","192.168.1.102",80

CONNECT

OK
AT+CIPSEND=28


OK
>   

busy s...

Recv 28 bytes

SEND OK

+IPD,298:<!DOCTYPE html>
<html>
<head>
   <title></title>
</head>
<body style="font-size:2.0em;text-align:center;">
   <br><br>
   This page is no longer available.
   <br><br>
   For BASTools use this link:
   <br>
   <a href="http://www.ibmanalyticsservice.com/bastools">www.ibmanalyticsservice.com</a>
</body>
</html>
CLOSED
AT+CIPCLOSE


ERROR
AT+CIPMODE?

+CIPMODE:0

OK
AT+CIPMODE=1


OK
AT+CIPSTART="TCP","192.168.1.102",80

CONNECT

OK
AT+CIPSEND=16

IPMODE=1

ERROR



If +CIPMODE = 0, I can send data ....... MCU UART->ESP8266->network->Server
and it sends data back...

But, if I change CIPMODE to 1...... it won't let me send data from the MCU out.....

Isn't this backwards from the AT+CIPMODE instructions documented ?

Statistics: Posted by tj4shee — Wed Oct 28, 2015 4:51 am


]]>
2015-10-26T11:50:42+08:00 2015-10-26T11:50:42+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1270&p=4264#p4264 <![CDATA[Re: sent and recieve "simultaneously"?]]>
You have set the ESP8266 enter UART <-> WiFi passthrough mode.

Remote <-network-> ESP8266 <-UART-> MCU

Data received from the network will be sent to your MCU by UART.
And data recerved from MCU through UART will be sent to remote device through network.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Mon Oct 26, 2015 11:50 am


]]>
2015-10-23T04:31:48+08:00 2015-10-23T04:31:48+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1270&p=4243#p4243 <![CDATA[sent and recieve "simultaneously"?]]>
if I send this to the ESP and set it to transmit

Code:

AT+CWMODE_CUR=2\r\n
AT+CIPSTART=\"TCP\",\"192.168.10.11\",900\r\n
AT+CIPMODE=1\r\n
AT+CIPSEND\r\n


will it still be able to receive data and send them out through UART to my MCU?

Thanks for your advice.

Statistics: Posted by CCP1CON — Fri Oct 23, 2015 4:31 am


]]>