New Ethernet library with improved TCP/IP Stack

Discuss with MikroElektronika software developers about current library development.
Post Reply
Author
Message
User avatar
darko.jola
Posts: 51
Joined: 03 Aug 2011 16:18

New Ethernet library with improved TCP/IP Stack

#1 Post by darko.jola » 04 Aug 2011 08:04

I would like to present the new Ethernet library. This library is in it's final stages, so no additional
features will be implemented for this release. However, users are welcomed and encouraged to post
their requests and suggestions for features they consider important, as we will consider them seriously
for future revisions.


Ethernet library, new Features:

1) First of all, improved Stack can handle almost all posible TCP States like: closed, Established, Listen, SYN Sent, SYN Received...
In other word, We can open socket, send/received data in packets (as many as We want), and finaly close socket.

2) User can define size of Tx bufer which is used session handling. Only restriction is that the buffer size must be the power of 2 (1, 2, 4, ... 512, ...).
This can be useful because We can choose the amount of RAM We want to occupy. Of course, smaller Tx bufer means more available
RAM and less communication speed (because packets are smaller).

3) Multiple sockets are supported, and user can define number of sockets required. If You choose more
sockets, less RAM is available, and communication speed will decrease (because there will be more packets to process).

We have also upgraded UDP functions with several features, but this time we have mainly focused on TCP.

This library will be used as a base for our future Wireless library.

So, feel free to ask about these new features, and if there is some feature
you would like to see in the library, please let me know.

Hurtz Hurty
Posts: 176
Joined: 12 Aug 2007 01:33

Re: New Ethernet library with improved TCP/IP Stack

#2 Post by Hurtz Hurty » 04 Aug 2011 10:02

Hi Darko,

your description sounds like a very flexible & promising library.
I'm really curious about it.

What I would like to see in a future release is a
Secure Sockets Layer (SSL) and support for SNMP-protocol.

Congrats for your first post :wink:
Sometimes you can't see the forest for the trees.

octal
Posts: 534
Joined: 09 Feb 2005 14:15
Location: France
Contact:

Re: New Ethernet library with improved TCP/IP Stack

#3 Post by octal » 04 Aug 2011 10:12

hello Darko,
can we got hand on the lib (even in beta state) so that we can do tests ?
http://www.pocketmt.com

User avatar
darko.jola
Posts: 51
Joined: 03 Aug 2011 16:18

Re: New Ethernet library with improved TCP/IP Stack

#4 Post by darko.jola » 04 Aug 2011 23:40

Hurtz Hurty wrote:What I would like to see in a future release is a
Secure Sockets Layer (SSL) and support for SNMP-protocol.

Congrats for your first post
-Thanks Hurtz!
-SSL, SNMP, as well as other protocols, like Telnet, HTTP... seems to be very interesting, and I will try to implement these protocols in our future release.

octal wrote:hello Darko,
can we got hand on the lib (even in beta state) so that we can do tests ?
Hi octal.
I will consult with our management about your suggestion. In any case, this lib will be very soon on Libstock!

Best regards,
Darko

Hurtz Hurty
Posts: 176
Joined: 12 Aug 2007 01:33

Re: New Ethernet library with improved TCP/IP Stack

#5 Post by Hurtz Hurty » 05 Aug 2011 15:45

Hello Darko,

an implementation of the network time protocol (NTP)
with run time compensation would be very useful.

Have a sunny weekend ...
Sometimes you can't see the forest for the trees.

mohammed.elsammak
Posts: 7
Joined: 29 Apr 2010 15:57

Re: New Ethernet library with improved TCP/IP Stack

#6 Post by mohammed.elsammak » 08 Aug 2011 19:23

hello Darko

the new library is very good but i thing it's very intersting to have an smtp on it if possible.

best regards

Paracom
Posts: 33
Joined: 11 Sep 2007 21:15
Location: Shropshire, United Kingdom

Re: New Ethernet library with improved TCP/IP Stack

#7 Post by Paracom » 09 Aug 2011 10:06

Hi,

I would like to request a UDP or TCP/IP based bootloader system to be part of the new library.

Thanks.

User avatar
darko.jola
Posts: 51
Joined: 03 Aug 2011 16:18

Re: New Ethernet library with improved TCP/IP Stack

#8 Post by darko.jola » 12 Aug 2011 09:36

Hi Paracom,

Unfortunately, UDP/TCP based bootloader not yet implemented in our lib. But we already have few request about that, and we must consider that for some of future revisions.

Best regards,
Darko

Hurtz Hurty
Posts: 176
Joined: 12 Aug 2007 01:33

Re: New Ethernet library with improved TCP/IP Stack

#9 Post by Hurtz Hurty » 12 Aug 2011 15:52

Hi there,
me is requesting such a bootloader-type too.
A FW-update from one location for all sensors (spread worldwide)
would be an amazing improvement. No more fear that customers will
have problems.
Sometimes you can't see the forest for the trees.

vincent_himpe
Posts: 23
Joined: 08 Jul 2011 19:20
Location: San Jose CA
Contact:

Re: New Ethernet library with improved TCP/IP Stack

#10 Post by vincent_himpe » 29 Aug 2011 09:57

How about DHCP, telnet and rarp. Same for ICMP ?

Especially telnet is use full since you can simply open a telnet program and interact with the device

User avatar
darko.jola
Posts: 51
Joined: 03 Aug 2011 16:18

Re: New Ethernet library with improved TCP/IP Stack

#11 Post by darko.jola » 31 Aug 2011 07:32

vincent_himpe wrote:Especially telnet is use full since you can simply open a telnet program and interact with the device
I agree with you vincent. Telnet is one of most popular application layer protocol and, like I say above, we will try to implement this protocol in some of our future releases.


Best regards,
Darko

Hurtz Hurty
Posts: 176
Joined: 12 Aug 2007 01:33

Re: New Ethernet library with improved TCP/IP Stack

#12 Post by Hurtz Hurty » 31 Aug 2011 10:43

My wish is to have the 'secure'-Telnet: SSH-2 or SSH G3
A secure tunneling of data is possible, so a direct & safe access to (My-) SQL-Databases
is possible, without the need of using 'Putty' or 'PhpMyAdmin' on an extra Computer.
This would be really great
Sometimes you can't see the forest for the trees.

User avatar
darko.jola
Posts: 51
Joined: 03 Aug 2011 16:18

Re: New Ethernet library with improved TCP/IP Stack

#13 Post by darko.jola » 02 Sep 2011 12:38

Hello Hurtz!

Unfortunately, secure encrypted communications is something we will not implement in few future revisions. In other hand, we have plans for Telnet (without SSH).


Best regards,
Darko

mohammed.elsammak
Posts: 7
Joined: 29 Apr 2010 15:57

Re: New Ethernet library with improved TCP/IP Stack

#14 Post by mohammed.elsammak » 14 Oct 2011 14:31

Hello sir.

is there any chance to add the SNMP with example on the new compiler
it's very useful and it will allow the user to manage and monitor (as example to beview as chart) and record the changes for more than one device in the same time on the network.
this option will help the user to send more data and not to be limited with the buffer for the Ethernet and HTML as when we use the
HTTP .

best regard
Mohammed Jassim

germanboy
Posts: 15
Joined: 04 Apr 2008 09:15

Re: New Ethernet library with improved TCP/IP Stack

#15 Post by germanboy » 18 Nov 2011 14:06

Hi darko.jola,

Am I right that this Library doesn´t support PIC24?

Thanks

Post Reply

Return to “Library Development Discussion”