Solved

Serial port programming in Linux/kylix

Posted on 2001-07-11
5
269 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
script that sorts the lines in file according to integer in line 7 29
shell script help 1 145
How to import linux vhd to sccvmm 1 152
null coming in rpm name 3 65
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now