[En-Nut-Discussion] Delphi connection for Nut/OS

Bogdan Hent bogdan.hent at gmail.com
Thu Dec 20 14:37:22 CET 2012


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
application.

If you have some examples, it would be great for me!

Thank you,
Bogdan

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 mailing list