Re: UCP

"Ian Cass" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <03c001c43cd6$f504fff0$1000a8c0@defender>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.