Zigbee (CC2530) connected to esp8266 can only send but not receive
[Copy link]
This post was last edited by LLPPSS on 2019-7-23 18:06
I use Zigbee from NetBee. The serial port 0 of Zigbee coordinator (CC2530), namely P0_2 and P0_3, is connected to esp8266. The serial port baud rate is 115200 by default. esp8266 establishes TCP service. The data collected by Zigbee terminal is sent to the mobile app through the coordinator and esp8266. The data can be received normally and there is no problem in the sending process. However, when the mobile app sends a command, esp8266 does not respond to the coordinator after receiving it.
Already tried:
The serial port assistant sends the same command (similar to the +IPD,0,3:#0 command ) to the coordinator, which is accepted by the coordinator and the program runs normally.
ESP8266 is connected to the computer using a USB-to-serial device. The commands sent by the mobile phone can be received normally in the serial assistant (the serial assistant displays: +IPD,0,3:#0 when received ).
Question: The ESP8266 module is connected to the coordinator and can send data to the app, but the control instructions of the app cannot enter the coordinator. What is going on? Can anyone answer this question? Thank you very much. ( The ESP8266 and the coordinator use the same power supply and have a common ground)
|