-->
Page 2 of 2

Re: TCP Server for serial port

PostPosted: Mon Apr 24, 2017 9:02 am
by martinayotte
esp-link is really a bridge between a tcp telnet client connection and serial port.
If you wish to push JSON data directly on a server, it is better to write your own firmware.
Otherwise, it is the server that will have to manage the incoming data from serial, remotely using tcp connection.

Re: TCP Server for serial port

PostPosted: Mon Apr 24, 2017 9:15 am
by lcoulon
At server side ( distant host ) i plan to process the GET request with a php file, it will put the incomming data into a txt or JSON file.

The only thing i will is getting ESP-12 board pushing out data coming-in in its RX UART pin to over that distant server with a GET command.

Is there a tuto to do this ?

Re: TCP Server for serial port

PostPosted: Tue Apr 25, 2017 1:06 am
by lcoulon
For my project i only need ESP-12 receives datas from its UART RX pin and pushes it to distant server.

Actually ESP-12 would act as a TCP client and would send a GET command.

Can someone tell me how i could do that ?
I did not find the way to do it with "esp-link" project.

Many thanks,