LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2012, 02:32 PM   #46
uibrahim
LQ Newbie
 
Registered: Feb 2012
Posts: 15

Rep: Reputation: Disabled

I am happy to write that I have finally been able to communicate with the controller! So the issue really was with the Minicom and I should have written a small program way before and would have saved a lot of time i wasted in trying to communicate using a shortcut method.
I ran into some problems in writing program such as setting the read() call to canonical input instead of raw input method. But I really appreciate ROD deep from my heart because whatever he suggested was the deciding factor in solving this issue (such as the links to the files in understanding the serial communication).
I have written the program to communicate with the controller, sending it out the command in hex mode and reading in the data the controller sends out to the laptop. In my case I wasn't really concerned what controller replies, rather I was interested only in sending out a proper HDLC command that conveys to the controller what I want it to show on the message sign.

Wait! this post is not done yet! I might come back to understand more about serial communication maybe soon. Thanks a lot Rod for great help -
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial communication program in Linux ddaas Linux - Software 2 03-31-2009 11:06 AM
LXer: minicom: A Linux Serial Communication Program LXer Syndicated Linux News 0 02-12-2008 11:41 PM
Serial Communication On Linux...... kimbosung Programming 3 04-08-2007 08:26 PM
Serial Communication in Debian Linux ashlesha Linux - Newbie 9 06-26-2006 07:59 PM
Serial communication - minicom sg3 Linux - Networking 0 07-17-2003 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration