Solved

Serial port programming in Linux/kylix

Posted on 2001-07-11
5
274 Views
Last Modified: 2010-04-21
Hi there,

I need to write a small a simple library (low speed, no handshaking) for sending and receiving data thru the serial port that works on both linux and windows. The windows part is going on fine, but I haven't found a way open and close serial ports under linux using Borland Kylix (ObjectPascal)

regards,

Luis
0
Comment
Question by:elkavayo
5 Comments
 

Author Comment

by:elkavayo
ID: 6274270
Note: doesn't have to be asynchronous. Blocking mode will work just fine.

Luis
0
 
LVL 5

Accepted Solution

by:
garboua earned 50 total points
ID: 6276928
as with all devices on linux, you can use the "open function"
for more details on serial port programming read this detailed document on how to interogate, open close, send and recieve from a serial port.
http://www.linuxguru.com/docs/howto/Serial-Programming-HOWTO
0
 
LVL 5

Expert Comment

by:bryanh
ID: 6282472
I don't know Kylix, but I can't imagine it would be any different in Linux from in Windows, except for the name of the device.  How do you access the serial port in Windows?
0
 
LVL 20

Expert Comment

by:jmcg
ID: 9871606
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: garboua {http:#6276928}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Optimize bash script 20 468
benchmark write speed to disk on linux 2 70
usage of %{name} in rpm spec file 4 52
Linux Scripting 3 144
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question