Recent

Author Topic: Irda  (Read 7132 times)

nautic

  • Newbie
  • Posts: 1
Irda
« on: August 16, 2010, 01:45:46 pm »
I'm new to Lazarus. I have spent lots of time with Delphi.

Is it possible to access IRDA ports on PC? or to an irda USB device?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Irda
« Reply #1 on: August 16, 2010, 02:05:52 pm »
What is IRDA? For which operating system?

With USB one solution which is often possible is using a driver which creates a virtual COM port for the USB device, then you can use any Serial COMM library like Synaser to access it.

I personally have already used FTDI USB devices with no problems. Here there is also some info about libusb:

http://wiki.lazarus.freepascal.org/Hardware_Access#USB

HenkNL

  • New member
  • *
  • Posts: 9
Re: Irda
« Reply #2 on: August 16, 2010, 02:31:54 pm »
IRda is a infrared transmitter/receiver system (very short bursts) mostly used in commucations with mobile devices.

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Irda
« Reply #3 on: August 16, 2010, 04:19:04 pm »
IRda is a infrared transmitter/receiver system (very short bursts) mostly used in commucations with mobile devices.

IRDA was the "in thing" (circa mid 90s to early 2000s) with mobile devices before Bluetooth took over. The big issue, if I remember correctly, was that the transmitter & the receiver must not have an obstacle between them. If this is not the case, the receiver will not receive the signals.

Not good if you want to send a file to someone whose phone is in his pocket.  :D

That's why mobile devices today use Bluetooth.
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

 

TinyPortal © 2005-2018