×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    1

    Which crc16 algorithm of SISControllerChecksum SISField is used ?

    Hi, all.

    I am writing an application to verify SISX packages, and I want to know which crc16 algorithm is used to calculate the checksum of SISCompressed<SISController> SISField, can anyone give me some tips?

    According to http://en.wikipedia.org/wiki/Cyclic_redundancy_check, there are CRC-16-CCITT, CRC-16-DNP, CRC-16-IBM CRC algorithms.

    Best regards,

    Kinch Zhang

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Which crc16 algorithm of SISControllerChecksum SISField is used ?

    A simple tip could be trying all of them.
    A more sophisticated one would be checking which one is already present in the SDK.
    If you search for crc in the SDK Help, you will find the tip.

  3. #3
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: Which crc16 algorithm of SISControllerChecksum SISField is used ?

    Quote Originally Posted by xdaqing View Post
    Hi, all.

    I am writing an application to verify SISX packages, and I want to know which crc16 algorithm is used to calculate the checksum of SISCompressed<SISController> SISField, can anyone give me some tips?

    According to http://en.wikipedia.org/wiki/Cyclic_redundancy_check, there are CRC-16-CCITT, CRC-16-DNP, CRC-16-IBM CRC algorithms.

    Best regards,

    Kinch Zhang
    AFAIK CRC-16-CCITT it is.

    Cheers,
    Mayank

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Which crc16 algorithm of SISControllerChecksum SISField is used ?

    Quote Originally Posted by mayankkedia View Post
    AFAIK CRC-16-CCITT it is.

    Cheers,
    Mayank
    The tip may be true.
    Quote Originally Posted by SDK Help, Mem
    Crc()
    static IMPORT_C void Crc(TUint16 &aCrc, const TAny *aPtr, TInt aLength);
    Description
    Performs a CCITT CRC checksum on the specified data.

    On return from this function, the referenced 16 bit integer contains the checksummed value.

Similar Threads

  1. Replies: 2
    Last Post: 2009-01-08, 03:20
  2. What best algorithm for encryption
    By jebeng in forum Mobile Java General
    Replies: 2
    Last Post: 2008-04-02, 11:23
  3. Algorithm to Generate a Reg Code
    By skhimsara in forum Symbian
    Replies: 3
    Last Post: 2006-05-03, 21:17
  4. Encryption Algorithm in Symbian
    By er_gps212 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2005-10-18, 11:43
  5. Line intersection algorithm
    By dmford in forum Mobile Java General
    Replies: 1
    Last Post: 2003-02-16, 09:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×