Hi
I am just getting started with this Module I would like to make a telnet connection it is possible using Arduino IDE
but would like to make it with flowcode, I have experimented with the HTTP server example it almost works
but the only problem is that the module closes the connection right after sending the data.
is there a way to keep the connection alive?
Telnet ENC28J60
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Telnet ENC28J60
Hi Alan,
Can you post your project file. You may simply be able to use the keep-alive tag in the header?
https://developer.mozilla.org/en-US/doc ... Keep-Alive
Can you post your project file. You may simply be able to use the keep-alive tag in the header?
https://developer.mozilla.org/en-US/doc ... Keep-Alive
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Alan_37
- Posts: 179
- Joined: Sun May 01, 2016 8:36 pm
- Has thanked: 51 times
- Been thanked: 54 times
- Contact:
Re: Telnet ENC28J60
hi Benj, thanks for your quick reply.
As I said I am just getting started what I want to accomplish is sending commands to my MCU via HTTP and telnet
but before I start to build my flowchart I want to make sure that I can make the connection using the HTTP and telnet protocol
so for now, I am experimenting the HTTP + Ping example file from the wiki.
Just tried replacing the header but no luck the connection keeps closing down.
Below is how a telnet connection looks like
As I said I am just getting started what I want to accomplish is sending commands to my MCU via HTTP and telnet
but before I start to build my flowchart I want to make sure that I can make the connection using the HTTP and telnet protocol
so for now, I am experimenting the HTTP + Ping example file from the wiki.
Just tried replacing the header but no luck the connection keeps closing down.
Below is how a telnet connection looks like
- Attachments
-
- ENC28J60_Example.fcfx
- (25.14 KiB) Downloaded 230 times
- Alan_37
- Posts: 179
- Joined: Sun May 01, 2016 8:36 pm
- Has thanked: 51 times
- Been thanked: 54 times
- Contact:
Re: Telnet ENC28J60
hi
For all those who need a network to serial bridge for your microcontroller
here is the Answer "esp-link" this free software for esp8266 makes it possible
to establish Telnet to serial connection, send commands to the microcontroller
via it's HTTP web interface, flash connected AVR, ATmega & ARM processors
also, you can send a command to the microcontroller with a GET request from anywhere
just use the example below.
http://192.168.1.50/console/send?text=sting_to_send%3F
This is exactly what I was looking for hope someone finds it useful as I did.
https://github.com/jeelabs/esp-link/releases
For all those who need a network to serial bridge for your microcontroller
here is the Answer "esp-link" this free software for esp8266 makes it possible
to establish Telnet to serial connection, send commands to the microcontroller
via it's HTTP web interface, flash connected AVR, ATmega & ARM processors
also, you can send a command to the microcontroller with a GET request from anywhere
just use the example below.
http://192.168.1.50/console/send?text=sting_to_send%3F
This is exactly what I was looking for hope someone finds it useful as I did.
https://github.com/jeelabs/esp-link/releases