Solved

Serial Implementation

Posted on 2004-08-29
11
205 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

932 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

13 Experts available now in Live!

Get 1:1 Help Now