##LazSerial v0.1##Serial Port Component for Lazarus (windows and linux).####by Jurassic Pork 03/2013and
5dpo Component Library for Lazarus (Sdpo) provides a comport (serial port) component, an UVC video driver component for webcams, a Gtk fast painting form and a Joystick component. Downloads: 35 This Week Last Update: 2019-09-25 See Project. Serial (COM) ports name or identification. Ask Question Asked 6 years, 7 months ago. Active 5 years, 7 months ago. Viewed 7k times 5. I've a program that access multiple serial ports using cport. To configure, till now I simply listed all available comports in a combobox to make a selection, but the increasing number of drivers with (virtual) serial interfaces makes configuring for end.
Patch for LazSerial to work with OS-X by rphoover
see: http://forum.lazarus.freepascal.org/index.php?topic=32632.0
As a part of the patch, a
When NonBlock is True, the call to the FpOpen method in TBlockSerial.Connect will not blockwhen an of CTS, DSR, or Carrier are not active.
new property was added
to the TBlockSerial class in synaser.pas,added as NonBlock
. The NonBlock property is for Unix users (Linux and OS-X included)
.When NonBlock is True, the call to the FpOpen method in TBlockSerial.Connect will not blockwhen an of CTS, DSR, or Carrier are not active.
This library is Free software; you can rediStribute it and/or modify itunder the terms of the GNU Library General Public License as published bythe Free Software Foundation; either version 2 of the License, or (at youroption) any later version.
This program is diStributed in the hope that it will be useful, but WITHOUTANY WARRANTY; withOut even the implied warranty of MERCHANTABILITY orFITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public Licensefor more details.
You should have received a Copy of the GNU Library General Public Licensealong with This library; if not, Write to the Free Software Foundation,Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. }
Based on :
![For For](/uploads/1/2/6/3/126304946/145888395.png)
![Serial Serial](/uploads/1/2/6/3/126304946/713272273.png)
- SdpoSerial v0.1.4CopyRight (C) 2006-2010 Paulo [email protected]
- Synaser library by Lukas Gebauer
- TcomPort component
####Features :
- changed baudrate values.
- changed stop bits new value : 1.5
- new event : onstatus
- new property
FRcvLineCRLF
: if this property is true, you use RecvStringin place of RecvPacket when you read data from the port. - new procedure
ShowSetupDialog
to open a port settings form : - the device combobox contain the enumerated ports.
- new procedure to enumerate real serial port on linux ( in synaser).
Demo : a simulator of serial port gps + serial port receiver :you can send NMEA frames ( GGA GLL RMC) to the opened serial port(start gps simulator). You can change speed and heading.In the memo you can see what is received from the opened serial port.In the status bar you can see the status events.
tested with windows 7 and Ubuntu 12.04
if you haven't serial ports in your PC you can use virtual ports :
- 1 - WINDOWSTo simulate a paired serial ports on windows : com0comex :
- 2 - LinuxTo simulate a paired serial ports on linux : socatex : socat -d -d PTY: PTY:
To connect to a bluetooth GPS on Linuxecho connection to a bluetooth GPS(/dev/rfcomm0)
sudo rfcomm bind 0 xx:xx:xx:xx:xx:xx 1
Sorry for my poor english but it isn't my natural language.