/*****Initialize the crcvar before calling Update and Final**************/
SL_FCRC16_Init( &crcvar );
/*****Calculate the checksum using Update and Final***********************/
printf( "\nCalculated using Update and Final: " );
SL_FCRC16_Update( &crcvar, buff, strlen( buff ) );
checksum = SL_FCRC16_Final( &crcvar ); /* SL_FCRC16_Final reinitializes the crcvar for the next use */