Hey Guys,
We require TCP/IP Protocol to send two bytes of data [SAMPLE PROGRAM].
Currently our Ethernet Driver Data is sent using HTTP protocol.In our Code we
convert HTTP WebPage into TCP/IP Data and the same is sent ,We find more
difficulty while sending data through HTTP,it is consuming more time too. But
our requirement is to just send the two bytes of data in Ethernet.So TCP/IP
Protocol is sufficient for us.
Regards,
Samjith.
LPC2368 Ethernet Driver
Started by ●August 3, 2009
Reply by ●August 5, 20092009-08-05
Reply by ●August 5, 20092009-08-05
--- In l..., "samjith_wasim" wrote:
>
> BOUNCE !
>
I guess nobody really understands the question or has any idea which protocol stack you are using.
After all, the HTTP protocol is built on top of TCP so you must already have everything you need.
You have to decide if your gadget accepts TCP connections (listen()) if it makes a connection (connect()). Either way, data is sent to a connected host. The stack should handle the details of setting up the connection.
Personally, I use the uIP stack with the LPC2106 to make a TCP connection with a network printer. I can then send HPGL commands and use the printer like a plotter.
I have no idea what stacks are available for the '2368 and I certainly don't know which stack you are using.
Richard
>
> BOUNCE !
>
I guess nobody really understands the question or has any idea which protocol stack you are using.
After all, the HTTP protocol is built on top of TCP so you must already have everything you need.
You have to decide if your gadget accepts TCP connections (listen()) if it makes a connection (connect()). Either way, data is sent to a connected host. The stack should handle the details of setting up the connection.
Personally, I use the uIP stack with the LPC2106 to make a TCP connection with a network printer. I can then send HPGL commands and use the printer like a plotter.
I have no idea what stacks are available for the '2368 and I certainly don't know which stack you are using.
Richard
Reply by ●August 5, 20092009-08-05
On Wednesday 05 August 2009, samjith_wasim wrote:
> BOUNCE !
Go read about tcpip and http. Before posting something really daft.
Most people on the list are tired answering questions which make no sense.
--
Rgds
JTD
> BOUNCE !
Go read about tcpip and http. Before posting something really daft.
Most people on the list are tired answering questions which make no sense.
--
Rgds
JTD
Reply by ●August 5, 20092009-08-05
Hey Guys ,
Can anyone provide me the sample coding for establishing TCP/IP protocol in LPC2368. I already have a sample easy Web application which I don't need.
Regards,
Samjith
Can anyone provide me the sample coding for establishing TCP/IP protocol in LPC2368. I already have a sample easy Web application which I don't need.
Regards,
Samjith
Reply by ●August 5, 20092009-08-05
> Can anyone provide me the sample coding for
establishing
> TCP/IP protocol in LPC2368. I already have a sample easy Web
> application which I don't need.
I'm confused, you say you already have what you are asking for, but then say
you don't need it?
You can look at the LPC2368 demos in the FreeRTOS download. Alternatively
look at the LPC1768 demos as the MAC driver has been re-written and is much
more efficient (and I think compatible with the LPC2368).
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.
+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.
> TCP/IP protocol in LPC2368. I already have a sample easy Web
> application which I don't need.
I'm confused, you say you already have what you are asking for, but then say
you don't need it?
You can look at the LPC2368 demos in the FreeRTOS download. Alternatively
look at the LPC1768 demos as the MAC driver has been re-written and is much
more efficient (and I think compatible with the LPC2368).
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.
+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.
Reply by ●August 5, 20092009-08-05
--- In l..., "samjith_wasim" wrote:
>
> Hey Guys,
>
> We require TCP/IP Protocol to send two bytes of data [SAMPLE PROGRAM].
>
> Currently our Ethernet Driver Data is sent using HTTP protocol.In our Code we convert HTTP WebPage into TCP/IP Data and the same is sent ,We find more difficulty while sending data through HTTP,it is consuming more time too. But our requirement is to just send the two bytes of data in Ethernet.So TCP/IP Protocol is sufficient for us.
>
> Regards,
> Samjith.
>
Considered UDP/IP? Far simpler than TCP/IP, especially if your goal is just to send two bytes.
>
> Hey Guys,
>
> We require TCP/IP Protocol to send two bytes of data [SAMPLE PROGRAM].
>
> Currently our Ethernet Driver Data is sent using HTTP protocol.In our Code we convert HTTP WebPage into TCP/IP Data and the same is sent ,We find more difficulty while sending data through HTTP,it is consuming more time too. But our requirement is to just send the two bytes of data in Ethernet.So TCP/IP Protocol is sufficient for us.
>
> Regards,
> Samjith.
>
Considered UDP/IP? Far simpler than TCP/IP, especially if your goal is just to send two bytes.
Reply by ●August 5, 20092009-08-05