Serial Implementation

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.
liquidproAsked:
Who is Participating?
 
CEHJCommented:
What protocols are being used? (Web link?)
0
 
liquidproAuthor Commented:
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
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
liquidproAuthor Commented:
Actually I take that back, it uses no flow control
0
 
CEHJCommented:
>>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
 
liquidproAuthor Commented:
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
 
CEHJConnect With a Mentor Commented:
No other way of communicating with serial port in 'modern' Windows + Java AFAIK
0
 
liquidproAuthor Commented:
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
 
liquidproAuthor Commented:
Well I guess I can't just give you guys 100 points... looks like you'll both be getting 250.
0
 
CEHJCommented:
:-)
0
 
girionisCommented:
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.