/*
 * np_app_crc.h
 *
 *  Created on: July 14, 2016
 *      Author: Alan.Lin
 *
 *  Copyright: NexPack Ltd.
 */

#ifndef NP_APP_CRC_H_
#define NP_APP_CRC_H_

#ifdef __cplusplus
extern "C" {
#endif

uint16_t np_function_crc_calculate(uint8_t* pData, uint16_t len);
uint8_t np_function_crc_check(uint8_t* pData, uint16_t len, uint16_t crc_value);

#ifdef __cplusplus
}
#endif

#endif /* NP_APP_CRC_H_ */
