开发者

CRC-CCITT (XModem) implementation in javascript

i'm trying to implement a CRC-CCITT (XModem) check in javascript without success. I need it in order to send socket str开发者_如何转开发ing into a controller via RS232. does anyone know how to do it? or perhaps is there a sample code somewhere??

I would appreciate any kind of help :)


A quick search showed http://zorc.breitbandkatze.de/crc.html which is an online CRC calculator in Javascript. It looks like it's quite general purpose because all CRC parameters can be changed, so it may be much more than what you're looking for. However, the same techniques will apply for your application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜