Outgoing TCP (Telnet) connection via UART?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
bastibasti
Normal user
Posts: 25
Joined: 31 Jul 2018, 11:41

Outgoing TCP (Telnet) connection via UART?

#1 Post by bastibasti » 23 Apr 2019, 09:32

Hi,

is there any way to establish an outgoing TCP (telnet) connection to another espeasy node via serial command??

kimot
Normal user
Posts: 190
Joined: 12 Oct 2017, 20:46

Re: Outgoing TCP (Telnet) connection via UART?

#2 Post by kimot » 23 Apr 2019, 18:55

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.

bastibasti
Normal user
Posts: 25
Joined: 31 Jul 2018, 11:41

Re: Outgoing TCP (Telnet) connection via UART?

#3 Post by bastibasti » 23 Apr 2019, 20:03

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??

bastibasti
Normal user
Posts: 25
Joined: 31 Jul 2018, 11:41

Re: Outgoing TCP (Telnet) connection via UART?

#4 Post by bastibasti » 23 Apr 2019, 22:52

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...

bastibasti
Normal user
Posts: 25
Joined: 31 Jul 2018, 11:41

Re: Outgoing TCP (Telnet) connection via UART?

#5 Post by bastibasti » 24 Apr 2019, 09:08

so, temporarily I solved this by using

sendtohttp,192.168.1.10,80,/control?cmd=serialsend%20COMMAND_FOR_EXTERNAL_AVR

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 26 guests