Serial Ethernet Board and TCP/IP protocol

General discussion on mikroC.
Post Reply
Author
Message
Bigote
Posts: 67
Joined: 09 Aug 2009 12:51
Location: Willemstad

Serial Ethernet Board and TCP/IP protocol

#1 Post by Bigote » 26 Dec 2009 04:32

Hi fellow programmers

I think it's not possible but i will ask just to be sure. If is it possible to implement the TCP/IP protocol using Mikroe Serial Ethernet Board?

If not why not what is exactly the problem?

User avatar
anikolic
mikroElektronika team
Posts: 1775
Joined: 17 Aug 2009 16:51
Location: Belgrade
Contact:

#2 Post by anikolic » 28 Dec 2009 12:05

Hi,
Yes it is possible to implement communication using TCP/IP protocol with Serial Ethernet Board. Only limitations you might face with our Ethernet library, but which are only temporary are:
1. Temporarily unsupported full TCP/IP stack
2. Temporarily unsupported TCP Client implementation
3. Because of no packet fragmentation support, packet cannot exceed 1518 bytes, so you have to find a way to send bigger HTML in several requests

This is being worked on, and new library will include support of these features.

Best regards,
Aleksandar
Web Department Manager

Bigote
Posts: 67
Joined: 09 Aug 2009 12:51
Location: Willemstad

#3 Post by Bigote » 28 Dec 2009 15:31

So you are telling me that i have 2 options:

Either use your library which isn't working correctly

or

Make my own library which i don't have the time/knowledge for.

Do you have a example program of how to use the TCP/IP protocol?

User avatar
anikolic
mikroElektronika team
Posts: 1775
Joined: 17 Aug 2009 16:51
Location: Belgrade
Contact:

#4 Post by anikolic » 28 Dec 2009 21:34

Hi,
I'm sorry for not offering all the answers you are looking for and for not presenting you all advantages of our library. You can use our great working examples for TCP/IP communication:
1. basicRealm - Basic demonstration of library and chip features
2. ethV2_demo - Advanced timer with on-line update from time server and displaying time on LCD
3. http_demo - Great demo of HTTP server with web page controls for toggling PIC PORT LEDs, and displaying the result of A/D conversion and PORT button presses.

These examples provide you with great starting point for future programming, with out-of-the-box solutions for UDP and TCP Server, with additional UDP client implementation. userTCP() routine can be used for processing incoming TCP packets and our examples provide you with a great demonstration of how to utilize many benefits of TCP server running on microcontroller.

Best regards,
Aleksandar
Web Department Manager

User avatar
srdjan
mikroElektronika team
Posts: 1552
Joined: 28 Dec 2005 12:47
Location: Serbia

Re:

#5 Post by srdjan » 21 Dec 2011 13:55


Post Reply

Return to “mikroC General”