
#ifndef __AppI2cOperation_h__
#define __AppI2cOperation_h__

#define __I2c_WRITE_OP__		0
#define __I2c_READ_OP__			1


#define _10BitI2C_Addr			0x1
#define	_1byteRdSubAddr			0x2
#define	_2bytesRdSubAddr		0x4
#define	_3bytesRdSubAddr		0x6
#define	_IgnoreAckChking		0x8
#define	_ReadI2cDevice			0x80


int fnDecodeHexStr2Values(char *pHexStr, unsigned char *HexVals, int SizHexVals, int needItems);

void ZebraI2cOperationHandler(void *pThis, __HZHANDLE__ hZhandle, int myId, UCHAR cfgByte, USHORT i2cAddr, UCHAR *pSubAddr, int nRdWrLen, UCHAR *pRdWrBuffer);










#endif // __AppI2cOperation_h__
