Cisco C Series IP Control
Kenny
Posts: 209
I am getting ready to control a CISCO C40 codec via IP. Another programmer said that there is a special hex string I need to send in order to authenticate to the codec but he couldn't recall what they were.
Has anyone ever heard of this? I certainly haven't and neither has google as far as I can find.
Kenny
Has anyone ever heard of this? I certainly haven't and neither has google as far as I can find.
Kenny
0
Comments
You'll just have to decide what kind of session you want to use (Telnet or SSH) and make sure it's enabled on the codec.
Although, I have all my C90s connected via RS-232. I do use Telnet to run/test commands on my C90 from my computer though.
Depending on how in depth your control is going to be, you may want to use serial instead of IP. Each time you connect to the codec (with IP), it is a new session and you'll have to re-register your feedback, etc...
Good luck!
Good point.
I guess I've not had to send/receive strings from a telnet port yet.
Can you post the code when you have a moment? I'm curious to look at it.
Thanks.
Here's the code... basically, it's searching what the Tesira sends back for the specific challenge, then sending specific response strings back, to tell the Tesira basic information, supposedly about how the client handles certain Telnet codes and functions:
Then elsewhere in response parsing code, I have it looking for the device serial number, and clearing the INIT flag (which suppresses the code from thinking a subscribe response is actually a state change from the logicmeters) Hope that helps!
Do you know if the hex strings are universal for Telnet comm?
I wouldn't think they would be device specific.
I just looked at the Cisco API Reference Guide (TC 7.1) and I didn't find any reference to initiating a telnet session (yet there is info on connecting via telnet and registering feedback and such).
It makes sense that the two devices need to understand each other's capabilities.
Yes, that's exactly what is going on with those initialization strings. Thanks for the follow-up on that!