Page 1 of 1
Outgoing TCP (Telnet) connection via UART?
Posted: 23 Apr 2019, 09:32
by bastibasti
Hi,
is there any way to establish an outgoing TCP (telnet) connection to another espeasy node via serial command??
Re: Outgoing TCP (Telnet) connection via UART?
Posted: 23 Apr 2019, 18:55
by kimot
I do not exactly know what you mean (telnet ).
But you can send event through serial line and with rules send UDP command to other ESPEASY.
Re: Outgoing TCP (Telnet) connection via UART?
Posted: 23 Apr 2019, 20:03
by bastibasti
ESP1: Connected to a microcontroller via UART. I can send a command to the microcontroller from the PC using the serial server in easyesp
ESP2: Connected to a microcontroller via UART. Howto send something to the microcontroller, connected to ESP1??
Re: Outgoing TCP (Telnet) connection via UART?
Posted: 23 Apr 2019, 22:52
by bastibasti
basically, what I'm looking for is a sendToTCP command, so I can send a text string from one uart to another.
SendToUDP cannot do it, since the serial server only reacts to tcp connections...
Re: Outgoing TCP (Telnet) connection via UART?
Posted: 24 Apr 2019, 09:08
by bastibasti
so, temporarily I solved this by using
sendtohttp,192.168.1.10,80,/control?cmd=serialsend%20COMMAND_FOR_EXTERNAL_AVR