ali hadim wrote:
> Hello all ,
> I'm trying UCP Format text and I learned a lot but I have not
> understand someting This is example.:  "FC" is Checksum and What is
> the checksum and  what is the rule?

This is explained clearly in the UCP manual.

The <checksum> is derived by the addition of all bytes of the header, data
field separators and data fields (i.e. all characters after the
stx-character, up to and including the last "/"
before the checksum field). The 8 Least Significant Bits (LSB) of the result
is then represented as two printable characters. The character containing 4
Most Significant Bits (MSB) (of those 8 LSB) shall be transmitted first. For
example, if the checksum is 3A(hex) the representation shall be the
characters "3" (33(hex)) and "A" (41(hex)).

-- 
Ian Cass


  • Re: UCP Ian Cass
    • UCP ali hadim

Reply via email to