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
Solved

Serial Implementation

Posted on 2004-08-29
11
213 Views
Last Modified: 2010-03-31
I'm making a program that's going to interface with Cisco Catylist 2950 switches. Basically what it does is sends/receives user input, easy enough huh? Doesn't seem to be the case for me. I can't quite figure out how to send/receive the right data.

The switches are connected to the computer via a serial port on COM1.

Even just a start would be great... A complete solution will receive 500 points.

Please help, if you need more information just ask.
0
Comment
Question by:liquidpro
  • 5
  • 4
  • 2
11 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 11924914
What protocols are being used? (Web link?)
0
 

Author Comment

by:liquidpro
ID: 11924926
For all I know it directly communicates with it, using 9600 baud rate on the COM1 port, 8 data bits, no parity, one stop bit, and hardware flow control
0
 

Author Comment

by:liquidpro
ID: 11924927
Actually I take that back, it uses no flow control
0
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.

 
LVL 35

Accepted Solution

by:
girionis earned 250 total points
ID: 11924930
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11924938
>>Try this

I'd assumed that was being used already - maybe not ;-)

>>For all I know it directly communicates with it

Yes, but how? *Are* you using javacomm? What protocol is used to communicate with it - i.e. what are you sending it and what are you receiving from it?
0
 

Author Comment

by:liquidpro
ID: 11924940
I have looked at that but it is <b>extremely</b> complicated to use.... there has to be an easier way to do it
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 250 total points
ID: 11924945
No other way of communicating with serial port in 'modern' Windows + Java AFAIK
0
 

Author Comment

by:liquidpro
ID: 11924964
Well then looks like I'll be doing that...

I will be giving you both 100 points, as you did not give me a complete solution (code, etc.), I still have to do the work, haha. But, it seems like you're still getting a deal, because you just had to look up a web link.

Thanks for the help, I appreciate it.
0
 

Author Comment

by:liquidpro
ID: 11924967
Well I guess I can't just give you guys 100 points... looks like you'll both be getting 250.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11924976
:-)
0
 
LVL 35

Expert Comment

by:girionis
ID: 11926093
:)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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
login jsp example 24 63
configure dependency in POM for new database 3 34
how to install java on RHEL image on EC2 4 39
Java Restore security prompts not working 10 53
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

809 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