Re: How to calculate the checksum?
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Christian Havel wrote:
how can I calculate the checksum (CRC-16) from the byte[] I retrieve from a
hardware device through the RS232 serial port?
I have some CRC-16 code on the shelf.
I fact I have more than one version.
Do you have some sample data and an expected result to
help determine which ?
Arne
.
Relevant Pages
- Re: why cant i write to a file with this code?
... Can't really say without knowing the format of the data that your hardware device sends through the serial port. ... You are assuming that your readstatement always returns a single chunk, or a packet, from your hardware device. ... The Linux kernel has absolutely no idea, nor does it care, what you have attached to the serial port, and the format of the data you are receiving. ... (comp.os.linux.misc) - Re: Threaded access to serial port under Windows
... Maybe you can help with a better design, I am talking to a hardware device ... Spins off read thread that uses fileevent to be notified when data ... We are developing a tool that needs to have access to a serial port from ... complete transaction, including a write and a read, and that no ... (comp.lang.tcl) - Whats SerialPort can not fire DataReceived event.
... I have a C# program can to test serial port communication. ... it is same hardware device and serial port driver, ... using API is ... (microsoft.public.dotnet.framework.compactframework) |
|