Hi. Hoping for a little advise with the CRC16 package, I'm trying to get DNP3 CRCs out but what ever I do it comes back incorrect.
I've tried this:
crc::crc16 -format 0x%X -seed 1001111010110010 E0C0810000 which gave 0xF4E4
and this:
crc::crc16 -format 0x%X -seed 0x9E2B E0C0810000...
Hi.
I need to test some functionality of a gateway that uses a sip interface. Is there a tcl sip extension or some other code I can stitch into my test tool to interface with the SIP.
Thanks in advance
Dave
Hi
I'm trying to send a hex stream on a client socket and despite converting the ouput to hex it still appears on the wire as the ascii code of the character that is sent.
I.e. I send 0005 and from wireshark I see 30 30 30 35 - What I need is 00 05
I have done a 'format %x $var' to conver to...
I'm trying to create a server socket that will take an bit stream, ie it has no end of line characters (eg CR) so I can't get the 'gets' command to read the input until the connection is broken (which I guess causes a flush of the socket).
I think I will need to read the characters individually...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.