We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MikroElektronika Team
Last Updated: 2013-01-31
Category: Ethernet
Downloaded: 11752 times
Followed by: 32 users
Ethernet library designed to simplify handling of the underlying hardware (ENC24J600/ENC28J60 and internal ethernet module on PIC18 and PIC32). Library supports: TCP Stack (Server/Client), UDP, IPv4 protocol, ARP requests, ICMP echo requests, ARP client with cache, DNS client, DHCP client.
Do you want to subscribe in order to receive notifications regarding "Network Ethernet Library" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Network Ethernet Library" changes.
Do you want to report abuse regarding "Network Ethernet Library".
Overview:
-This library is designed to simplify handling of the underlying hardware (ENC24J600/ENC28J60 and internal ethernet module on PIC18 and PIC32).
-Network Ethernet ENC24J600/ENC28J60 Library supports :IPv4 protocol, ARP requests, ICMP echo requests, UDP, TCP Stack. (Server/Client), ARP client with cache, DNS client, UDP client, DHCP client.
TCP Stack features:
Examples:
-This package contains also simple HTTP_Demo example for each ethernet controller. It's shows how to use the Network Ethernet Library. After programming, board will reply to ARP&ICMP echo requests, to UDP requests on any port (returns the request in upper char with a header made of remote host IP & port number), and to HTTP requests on port 80.
-Note that web page, which is sent on HTTP request, contains (four) images, and each image use different socket. In this simple demo 5 sockets are defined.
-Examples are tested in Google-Chrome browser.
New version (1.0.1.0):
-Network Ethernet Library for Internal PIC32 Ethernet Controller module added. You can download project WebcamSurveillance, which use this library (link below).
-Minor changes were made in Help files.
New version (1.0.2.0):
-Network Ethernet Library for AVR added.
-Minor changes have been performed in Network Ethernet Library for dsPIC.
New version (1.0.3.0):
-New packages for PIC, dsPIC and AVR added (mikroC, mikroBasic, mikroPascal). To use these packages user must install 5.20 (or later) version of our compilers.
-Compared to the previous package version, 1.0.3.0 version do not have timer TCP function, and it is user responsibility to increment Net_Ethernet_xxjxx_userTimerSec variable each second in it's code.
New version (1.0.4.0):
-New packages for ARM (mikroC, mikroBasic, mikroPascal), and for PIC32 (mikroPascal, mikroBasic) added.
-Fixed problem on receiveing UDP broadcast messages.
- 28.02.2012. Replaced packages for ARM with packets which was build with new version of ARM compilers (2.00). To use these packets, you need to install 2.00 version of compilers.
- 09.07.2012. Added packages for STM (for ENC24j600 and ENC28j60 ethernet modules).
New version (1.0.5.0):
-New packages for ARM (mikroC, mikroBasic, mikroPascal) are added. New packages include libraries for external ethernet modules (ENC24J600 and ENC28J60) and for internal ethernet modules for Stellaris and STM.
-24.07.2012. Solved DHCP client bug in library for STM internal module.
-03.11.2012. Package for "mikroC PRO for ARM" has been replaced (because old package had bad .emcl files). Fixed DHCP bug in libraries for internal PIC32 module.
-09.01.2012. Library for internal STM Ethernet module is updated. New release of compilers for ARM (ver 3.0.0) requires this update, so please download and reinstall corresponding package.
--------------------------------------------------------------------------------------------------------------------------------
Note:
-Help for Net_Ethernet_xxxx_connectTCP and Net_Ethernet_xxxx_startSendTCP function are not correct. Correct values for return parameters for this function are:
0 - no successful transmit
1 - successful transmit
-Help for SOCKET_xxxx_Dsc structure are not correct. When field open is 0, that mean that socket is free, and when this field is 1, that mean that socket is busy.