Solved

Serial Implementation

Posted on 2004-08-29
11
209 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

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

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…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

832 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