[En-Nut-Discussion] Delphi connection for Nut/OS
huayuliang at gmail.com
Sat Dec 22 05:56:20 CET 2012
There is a few third-party network components for Delphi, include free
components. It is very easy to use thired-party network components. All of
them provide some example to use.
I'm using Borland C++ Builder.
2012/12/20 Bogdan Hent <bogdan.hent at gmail.com>
> Hi Ole,
> Thank you for answering.
> Yes, I mean borland Delphi?
> I want to use TCP connection and I want to know if it's possible to connect
> using TClientSoket or another component and maintain connection alive
> between server and the device. Also, I attached a barcode scanner to device
> which scans the barcode and it's supposed to send the code back to server
> If you have some examples, it would be great for me!
> Thank you,
> On Thu, Dec 20, 2012 at 3:28 PM, Ole Reinhardt <
> ole.reinhardt at embedded-it.de
> > wrote:
> > Hi Bogdan,
> > > I have a Ethernut 1.3 Hardware which is supposed to read some barcodes
> > and
> > > transfer to a Delphi application.
> > You mean the embarcadeo / inprise / borland Delphi right?
> > > The problem is that I can't connect with Delphi. Is there anywere a
> > > connection function which works with Delphi?
> > It's quite some time I developed with Delphi myself, but I still don't
> > understand your question right, I think.
> > Delphi supports several methods for communicating with an embedded
> > device like the Ethernut board.
> > For example you can do so using the UART interface (connected to a COM
> > port or RS232->USB converter) and for sure you can also use a TCP or UDP
> > socket connection over Ethernet.
> > A short introduction on how to write a simple TCP client you can find
> > here:
> > http://delphi.about.com/od/networking/l/aa112602a.htm
> > An example for reading and writing on a COM port you can find here:
> > http://www.swissdelphicenter.ch/de/showcode.php?id=841
> > For both (COM port communication and network communication) numerous
> > ready-to-use components are available for Delphi.
> > Best regards,
> > Ole Reinhardt
More information about the En-Nut-Discussion