Schildkroet / Candle2

GRBL control interface in Qt.
GNU General Public License v3.0
200 stars 56 forks source link

ESP32 GRBL Ethernet is connected to candle2, there seems to be a problem with the receive function of candle2 Ethernet? #35

Closed hankecnccc closed 2 years ago

hankecnccc commented 2 years ago

I changed m_tcpSocket.connectToHost in "SerialIf_OpenEth" to fixed, m_tcpSocket.connectToHost("192.168.1.102", 23);, he did connect successfully, I sent G code through m_tcpSocket.write("G1Z100F100\n") , the motor also moved, but the interface of candle2 did not respond, as if the connection was not successful, depending on the Ethernet version of the loop analysis program is not running

Schildkroet commented 2 years ago

OK, it seems you did not implement GrIP protocol. GRBL-Advanced and Candle2 use GrIP for communication over Ethernet. If you just send raw strings over ethernet, it won't work (in both directions)

hankecnccc commented 2 years ago

好的,看来您没有实现 GriIP 协议。 GRBL-Advanced 和 Candle2 使用 GriIP 通过以太网进行通信。如果您只是通过以太网发送原始字符串,它将不起作用(双向)

ok