/*warning: this for debug purpose only*/
#ifndef  _SES_ERR_MSG_H_
#define  _SES_ERR_MSG_H_
	#ifdef _DEBUG
		const char* SesErrMsgs[] =
		{

		"SES_SUCCESS==0x00	/* ses function success*/",
		"NOT_DEFINED==0x01",
		"SES_PARA	==0x02	/* invalid parameter*/",
		"SES_EEPROM	==0x03	/* write eeprom failed*/",
		"SES_RAM	==0x04	/* ram out of range	*/",
		"SES_XCOS	==0x05	/* unknown error	*/",
		"NOT_DEFINED==0x06",
		"NOT_DEFINED==0x07",
		"NOT_DEFINED==0x08",
		"NOT_DEFINED==0x09",
		"NOT_DEFINED==0x0a",
		"NOT_DEFINED==0x0b",
		"NOT_DEFINED==0x0c",
		"NOT_DEFINED==0x0d",
		"NOT_DEFINED==0x0e",
		"NOT_DEFINED==0x0f",
		"NOT_DEFINED==0x10",
		"SES_FILEID	==0x11	/* file not found*/",
		"SES_FILE_ACCESS==0x12/* access file failed	*/",
		"SES_FILE_SELECT==0x13/* select file error	*/",
		"SES_HANDLE		==0x14/* invalid file handle*/",
		"SES_RANGE		==0x15/* out of file range	*/",
		"SES_FILE_SPACE	==0x16/* SES no enough space to create new file*/",
		"SES_FILE_EXISTING==0x17/* SES file ID has been used*/",

		"NOT_DEFINED==0x18",
		"NOT_DEFINED==0x19",
		"NOT_DEFINED==0x1a", 
		"NOT_DEFINED==0x1b", 
		"NOT_DEFINED==0x1c", 
		"NOT_DEFINED==0x1d", 
		"NOT_DEFINED==0x1e", 
		"NOT_DEFINED==0x1f", 
		"NOT_DEFINED==0x20", 

		"SES_KEYID==0x21/* key not found*/",
		"SES_KEY_ACCESS	==0x22/* access key failed*/",
		"SES_SHA1==0x23	/* hash failed*/",
		"SES_RAND==0x24	/* get rand failed*/",
		"SES_RSA==0x25	/* RSA calculate failed*/",
		"SES_RSAVERIFY==0x26/* digest signature verification failed	*/",
		"NOT_DEFINED==0x27",	
		"NOT_DEFINED==0x28",
		"NOT_DEFINED==0x29",
		"NOT_DEFINED==0x2a", 
		"NOT_DEFINED==0x2b",
		"NOT_DEFINED==0x2c",
		"NOT_DEFINED==0x2d",
		"NOT_DEFINED==0x2e",
		"NOT_DEFINED==0x2f",

		"SES_INVALID_POINTER==0x30/* invalid pointer*/",
		"SES_INVALID_SIZE	==0x31/* invalid size	*/",
		"NOT_DEFINED==0x32",
		"NOT_DEFINED==0x33",
		"NOT_DEFINED==0x34",
		"NOT_DEFINED==0x35", 
		"NOT_DEFINED==0x36",
		"NOT_DEFINED==0x37",
		"NOT_DEFINED==0x38",
		"NOT_DEFINED==0x39",
		"NOT_DEFINED==0x3a", 
		"NOT_DEFINED==0x3b",
		"NOT_DEFINED==0x3c",
		"NOT_DEFINED==0x3d",
		"NOT_DEFINED==0x3e",
		"NOT_DEFINED==0x3f",
		"SES_REAL_TIME==0x40/* read clock module error*/"
		};
	#else
		const char* SesErrMsgs[0x40] = {"\0",};
	#endif

#endif //_SES_ERR_MSG_H_
