473,385 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

serial port communication in LINUX

5
hii friends

does anybody know how to do serial communication (through) serial port in linux using c++?
I am using redhat-9. it would be better if someone can provide with eg. codes of client and server to send and recieve data.

please tell me step by step procedure.

regards
shamik
Dec 4 '06 #1
2 7811
horace1
1,510 Expert 1GB
hii friends

does anybody know how to do serial communication (through) serial port in linux using c++?
I am using redhat-9. it would be better if someone can provide with eg. codes of client and server to send and recieve data.

please tell me step by step procedure.

regards
shamik
have a look at
http://www.comptechdoc.org/os/linux/programming/c/linux_pgcserial.html
http://www.lafn.org/~dave/linux/Serial-Programming-HOWTO.txt
Dec 4 '06 #2
shamik
5
thanks for the links
they are really very helpful

thanks and regards
shamik
Dec 4 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: shashi | last post by:
I am trying to implement the following -> Capability to interact with server during boot via serial port -> Cause server to crash (TOC) on command. The setup is we are managing many servers, and...
1
by: Andreas Horneff | last post by:
Hi @ all, I've got a problem with serial communication in Borland C++ Builder. I've already found a lot of stuff about serial communication in the internet, but it dosen't work. What I want...
7
by: code | last post by:
Hi folks, I would like to read and write to a ISO-Reader card (RFID) connected to /dev/ttyS0 (COM1). Writing works fine, all commands I write to the device will be executed. To every command...
3
by: Ramakant Kasar | last post by:
Hi, If an application is reading data from a serial port, How can I open the same serial port with another application? Any idea? Please help. Thanks, Ramakant K.
1
by: raza | last post by:
i have to access the serial port for controlling hardware, i have found the php_ser.dll for serial communication. but this dll is for windows only. i need to do the same job on linux plateform.i need...
0
by: usagimys | last post by:
Hi all, i'm very new in serial port communication.. here i got some problem in writing to the serial port.. i have done the connection successfully.. let me explain my situation.. i'm doing a system...
2
by: suhabayindir | last post by:
In an application of: Serial Port Communication in C# using sPort_DataReceived() event I have noticed that the maximum number of characters that you can receive using this event is limited to 8,...
0
by: ghjk | last post by:
I want to read sms from GSM modem using C# in serial communication. I wrote the code. But i want to do it automatically. I put my code here and please tell me how can i do it automatically. ...
0
by: Dhananjay | last post by:
Hi, I am working on an VB.Net application which I want to communicate to external device using comm port (Serial Port) . So for that first I am trying to simulate the communication on serial...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.