Solved

Serial port programming in Linux/kylix

Posted on 2001-07-11
5
281 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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