postoffice_0727
EMV 

所属分类:Java编程
开发工具:C/C++
文件大小:1302KB
下载次数:6
上传日期:2014-11-13 22:41:33
上 传 者lin71821
说明:  郵資機應用,自動銷售,Text顯示框。應用方式演練
(Postage Machine)

文件列表:
postoffice\.cproject (24981, 2012-05-15)
postoffice\.project (2467, 2012-05-15)
postoffice\device.cpp (15139, 2012-05-30)
postoffice\device.h (6991, 2011-10-14)
postoffice\editform.cpp (19819, 2012-06-07)
postoffice\editform.h (1441, 2011-11-25)
postoffice\global.cpp (139292, 2012-07-20)
postoffice\global.h (16438, 2012-05-28)
postoffice\KeypadLoader_sp (62920, 2011-10-14)
postoffice\main.cpp (7115, 2012-06-21)
postoffice\main.h (815, 2011-10-14)
postoffice\mainform.cpp (65283, 2012-06-21)
postoffice\mainform.h (1218, 2011-10-27)
postoffice\Makefile (1515, 2011-10-14)
postoffice\matrixolk30\acr120.h (3005, 2012-05-31)
postoffice\matrixolk30\acr50.h (4074, 2012-05-31)
postoffice\matrixolk30\aes.h (573, 2012-05-31)
postoffice\matrixolk30\algorithm.h (5478, 2012-05-31)
postoffice\matrixolk30\atg.h (2960, 2012-05-31)
postoffice\matrixolk30\au9528.h (2709, 2012-05-31)
postoffice\matrixolk30\BerTLV.h (2722, 2012-05-31)
postoffice\matrixolk30\bootconfig.h (542, 2012-05-31)
postoffice\matrixolk30\cfm.h (3957, 2012-05-31)
postoffice\matrixolk30\common.h (226, 2012-05-31)
postoffice\matrixolk30\comport.h (3846, 2012-05-31)
postoffice\matrixolk30\comport_ex.h (2208, 2012-05-31)
postoffice\matrixolk30\cport.h (2583, 2012-05-31)
postoffice\matrixolk30\crc.h (1813, 2012-05-31)
postoffice\matrixolk30\crtreader.h (7178, 2012-05-31)
postoffice\matrixolk30\crtreader285.h (6977, 2012-05-31)
postoffice\matrixolk30\database\dbengine.a (29308, 2012-05-31)
postoffice\matrixolk30\database\dbengine.h (3523, 2012-05-31)
postoffice\matrixolk30\database\ezdb.h (868, 2012-05-31)
postoffice\matrixolk30\database\olkdebug.h (681, 2012-05-31)
postoffice\matrixolk30\database\version.h (268, 2012-05-31)
postoffice\matrixolk30\dirdb.h (1822, 2012-05-31)
postoffice\matrixolk30\dkb.h (5347, 2012-05-31)
postoffice\matrixolk30\dtp220.h (3226, 2012-05-31)
postoffice\matrixolk30\elite1000.h (2135, 2012-05-31)
postoffice\matrixolk30\EMVL2.h (19666, 2012-05-31)
... ...

////////////////////////////////////////////////////////////////////////////////////////////////// // This Object for Innovision vistaolk30 product for EM-1240 //------------------------------------------------------------------------------------------------ // vistaolk30.a for 4 port acb-lite // acbolk30.a for 8 port acb // matrixolk30.a for artila520 8 port // Creator: Peter Chen ////////////////////////////////////////////////////////////////////////////////////////////////// 2008 vistaolk30 Ver:3.0.X.X for acb-lite acbolk30 Ver:3.0.X.X for acb 2009 vistaolk30 Ver:3.5.X.X for acb-lite acbolk30 Ver:3.5.X.X for acb matrixolk30 Ver:3.5.X.X for artila ================================================================================================== Object create begin at 2006/02/03 elite1000 object for Innovision Elite1000 printer only, but it need include ivtc.fnt bitmap font. or customer can create bitmap font. 2006/02/27 elite1000 was terminate, elite1000 printer driver don't support. Special: 1, acb-lite support 1-1, LCM/Keyboard direct, object named TVDK. 1-2, SD card for data storage. 1-3, H/W power low signal. 1-4, embedded uclinux 2.6.X. 2, acb support 2-1, USB 2.0 for data storage. 2-2, comport max *** port, if add extendded NPort-5210. 2-3, MontaVista embedded linux 2.4.18. 3, rsalib.a, now already announce support 2048 bits RSA, this is special by order 3-1, vistaolk30.a -> rsalib.a support acb-lite 4 port. 3-2, acbolk30 -> rsalib.a support acb 8 port. 4, smartcard.a, now already announce, support follow 4-1, support FISC620 IC Card. 4-2, support FISCTSAM SAM card. 4-2, support TCPCCARD for CPC JLcard & FLcard. 4-5, support TSAM110 RSA EMV SAM card, support 1***4 bits. (MAX 2048 bits) 5, rsalib.a, now already ammounce , support follow 5-1, support acb 5-2, suppoer acb-lite 5-3, 2048 bits algarithm 5-4, support generate RSA public & private keypair. 6, matrixolk30.a, new is support artila520 product 7, spiritsdk.a, new is support spirit sdk api. Utilitys: MakePattern.exe support create bitmap fonts table, handset object use only. dkbMakefont.exe support create bitmap fonts table, dkb / vdk object use only. TCPClient.exe support winsock sample test. TCPServer.exe support winsock sample test. NOTES: 1, keyped support double key press (or above) as same time. 2, LCM support show pattern file, 2 byte code font pattern, graphics 2-1, acb-lite support 2-2-1, acb-lite support VDK object direct access LCM & Keypad. 2-2-2, acb-lite support KID object pass through by kid board. if remove LCM & Keypad. 2-2, acb support 2-2-1, acb need add KID board to support LCM & Keypad. 3, TComport 3-1, support acb-lite ( vistaolk30.a ) 1~4 port 3-2, support acb ( acbolk30.a ) 1~8 port, add extended port up to 9~*** port, need add ICBox controller. 3-3, support console port & debug port 3-3-1, console port default port number is 0, 3-3-2, debug port default port number is -1, only for out data use. 3-4, support RS-232 / RS-422 / RS-485-2WIRE / RS-485-4WIRE 3-4-1, acb-lite port 3,4 support 3-4-2, acb port 4,8 support 4, TATG support 4-1, support tank gauge type: 4-1-1, INCOME_TS_2000, 4-1-2, VENDER_ROOT_TLS_350R, VENDER_ROOT_TLS_350S, VENDER_ROOT_TLS_300, VENDER_ROOT_TLS_250, VENDER_ROOT_TLS_PC, 4-1-3, OPW_TLS_250, OPW_TLS_350, PETRO_VEND_OPW_1_New, PETRO_VEND_OPW_2_Old, 4-1-4, RED_JACKET_ST_1400_1800, 4-1-5, TOKYO_TATSUNO_GOM_751A, 4-1-6, EBW_APT_AUTOSTIK_JR_4, EBW_APT_AUTOSTIK_JR_8, 5, INNOVISION protected support, 5-1, acb baord, please update kernel to 1.5.2.7 or above, 5-2, acb-lite, please update kernel to 1.0 or above, 5-3, support function: 5-3-1, bool WriteIVTCProtect(stIvtcProtect IVTC); 5-3-2, bool ReadIVTCProtect(stIvtcProtect IVTC); 5-3-3, bool CheckProtected(); 5-3-4, stIvtcProtect format below: struct stIvtcProtect { unsigned char Company[10]; // read only unsigned char ApplicationID[4]; // read / write unsigned char AppVersion[4]; // read / write unsigned char RUF[6]; // read / write unsigned char RUF1[8]; // read / write }__attribute__((packed)); Company[10] read only, can't be change. 5-4, please use rbcswlock_sp program to initialize protect key. 6,VDK Object 6-1, Double key press VDK_INTER_KEY_F1 + VDK_INTER_KEY_0 : [. - +] VDK_INTER_KEY_F1 + VDK_INTER_KEY_1 : [Q Z] VDK_INTER_KEY_F1 + VDK_INTER_KEY_2 : [A B C] VDK_INTER_KEY_F1 + VDK_INTER_KEY_3 : [D E F] VDK_INTER_KEY_F1 + VDK_INTER_KEY_4 : [G H I] VDK_INTER_KEY_F1 + VDK_INTER_KEY_5 : [J K L] VDK_INTER_KEY_F1 + VDK_INTER_KEY_6 : [M N O] VDK_INTER_KEY_F1 + VDK_INTER_KEY_7 : [P R S] VDK_INTER_KEY_F1 + VDK_INTER_KEY_8 : [T U V] VDK_INTER_KEY_F1 + VDK_INTER_KEY_9 : [W X Y] ================================================================================================== ************************************************************************************************** ================================================================================================== Last Modify: Version:3.5.1.1 2010/10/20 at Office Taipei -------------------------------------------------------------------------------------------------- 1, fix IdTech Reader for read MSR data, remove clean rs232 channel buffer before send request command add parser multi protocol package Last Modify: Version:3.5.1.1 2009/02/13 at Office Taipei -------------------------------------------------------------------------------------------------- 1, fix String LoadFromTxtFile() method by (Peter) remove eof() line Last Modify: Version:3.5.1.1 2009/02/13 at Office Taipei -------------------------------------------------------------------------------------------------- 1, add ITP628 thermoprt Printer by (Jerry) Last Modify: Version:3.5.1.1 2009/02/06 at Office Taipei -------------------------------------------------------------------------------------------------- 1, add RTC function extern bool GetRTCDateTime(char *yyyymmddhhmmss); extern bool GetRTCDateTime(int *year, int *month, int *day, int *hour, int *minute, int *second); extern bool SetRTCDateTime(char *yyyymmddhhmmss); extern bool SetRTCDateTime(int year, int month, int day, int hour, int minute, int second); Last Modify: Version:3.5.1.1 2009/02/06 at Office Taipei -------------------------------------------------------------------------------------------------- 1, acr50 add support new chip protocol, merge it, support old chip ver:0508~050A support new chip ver:0515 2, add LoadCpcPrarameters() for visawave object Last Modify: Version:3.5.1.1 2009/01/15 at Office Taipei -------------------------------------------------------------------------------------------------- 1, fix visaped20 add timeout value, because mac method need more times. Last Modify: Version:3.5.1.1 2009/01/08 at Office Taipei -------------------------------------------------------------------------------------------------- 1, fix idtech msr data & OnATR event data for OPT 2, add OnError for hybrireader with 0x91, 0x81, 0x82 error for CPC for ExChangeAPDU() Seperate dule CMD, 0x21 + 0x26, 0x29 + 0x26 Last Modify: Version:3.5.1.1 2008/12/25 at Office Taipei -------------------------------------------------------------------------------------------------- 1, fix visaped.cpp & visaped20.cpp visaped20.cpp CTS high send data, do not wait CTS low, timeout = 1 sec visaped.cpp CTS high send data, do not wait CTS low, timeout = 1 sec 2, add fccardd set price control, conform 3 times, for 2X81... print & 2X80 flag to setting price Last Modify: Version:3.5.1.1 2008/12/18 at Office Taipei -------------------------------------------------------------------------------------------------- 1, fix fccardd multi thread, only one process can scan queue 2, inifile for multi thread used 3, String, Stringbuff, Stringex for multi thread Last Modify: Version:3.5.1.1 2008/11/10 at Office Taipei -------------------------------------------------------------------------------------------------- 1, ALL Stop fork function modify Tstring, Tstringbuff, Tstringex && fccardd 2, fix Cathay United Bank, can't pass softRSA, modify clear public key first. Last Modify: Version:3.5.1.1 2008/11/06 at Office Taipei -------------------------------------------------------------------------------------------------- 1, Add au9528 SAM Card Control Object, it is replace old acr50 object Last Modify: Version:3.5.1.1 2008/10/31 at Office Taipei -------------------------------------------------------------------------------------------------- 1, Add Mu420b Object for Invoice printer 2-shift printer 2, push write flash process to fork() function modify Tstring, Tstringbuff, Tstringex Last Modify: Version:3.5.1.1 2008/10/20 at Office Taipei -------------------------------------------------------------------------------------------------- 1, Modify Thread Add Pause() method, for Extended object pthread_create(&m_ThreadID, NULL, Threadfunc, (void*)this); create once only pthread_detach(m_ThreadID); Destory only modify any Object link with Thread. Last Modify: Version:3.5.1.1 2008/10/20 at Office Taipei -------------------------------------------------------------------------------------------------- 1, Add Visaped20 reference specification by Bill. Last Modify: Version:3.5.1.1 2008/08/31 at Office Taipei -------------------------------------------------------------------------------------------------- 1, Add SpiritAPI object parameters Create for FCB2100 -> Spirit (3 slot fccard used for acb-lite) Externed for ACB board new Spirit (6 slot, include multi spirit protocol) Last Modify: Version:3.5.0.3 2008/06/05 at Office Taipei -------------------------------------------------------------------------------------------------- 1, Add xReader for Beijing OPT-II xReader is a IdTech product support contactless card for PBOC2.0 -------------------------------------------------------------------------------------------------- 1, Add VDK object parameters #define LCM_ALIGN_LEFT 0xFF #define LCM_ALIGN_MIDDLE 0xFE #define LCM_ALIGN_RIGHT 0xFD only for printf() show buffer or text, not include show image pattern Last Modify: Version:3.5.0.3 2008/04/25 at Office Taipei -------------------------------------------------------------------------------------------------- 1, Modify fccarddapi if ( fccDaemon.SHMfccard->FCCard[index].DispenserType[0] == 0x0D ) { // 2008/04/25 remove XOR, bill say //buff[0] = buff[1] ^ buff[2]; //printf("DispenserType[%d] == 0x0D\n", faceID); } Last Modify: Version:3.5.0.3 2008/04/23 at Office Taipei -------------------------------------------------------------------------------------------------- 1, add Visawave31 object, bool LoadThsrcParameters(int floorlimit); add load Thsrc parameters include floor limit value. 2, comport COMPORT_BUFFER_LENGTH_MAX 256 change to 512 Last Modify: Version:3.5.0.3 2008/04/22 at Office Taipei -------------------------------------------------------------------------------------------------- 1, fix 2008/04/22 add condition for VerifyIssuerCertificate 6A 04 .... BC Signed Data Authentication TagList include Tag 0x82 SDA data must include tag=0x82 data Last Modify: Version:3.5.0.3 2008/03/31 at Office Taipei -------------------------------------------------------------------------------------------------- 1, fix handset object for THSRC upgrade from acbolk2.0 to 3.0 -------------------------------------------------------------------------------------------------- Last Modify: Version:3.5.0.3 2008/03/21 at Beijing *** 1, TcpClient add Tag, for index array Tcp Client use Mark Off, when send error close, recover to Originator source 2, rewrite makefile, for make lib (*.a), for Vista security access -------------------------------------------------------------------------------------------------- Last Modify: Version:3.5.0.3 2008/01/15 at Office Taipei 1, vdk add 3 methods void DisableSfKey(TemSFKey sfkey); void EnableSfKey(TemSFKey sfkey); bool GetSfKeyStatus(TemSFKey sfkey); change SoftKey to IO Input Status 2, fccard add firmware loading for fcb2100 project -------------------------------------------------------------------------------------------------- Last Modify: Version:3.5.0.3 2007/12/12 at Office Taipei 1, add thermoprt for Lim 2, change thermoprt bypasscommand() to comport ByPassCommand() 3, Fix IdTech Object, support extendded SAM Board, Support SAM#1~#5 4, pass EMV JCB certificate V1.1 EMVL2, EMVL2V41A object, include ACBOLK20 EMVL2 object -------------------------------------------------------------------------------------------------- Last Modify: Version:3.5.0.3 2007/10/31 at Office Taipei 1, Add Fccard method, to support fccard firmware remote download ... enum TFccMode { fccNormal, fccFirmWare }; bool FirmWareLoading(char *patfilename); TFccMode FccardMode(); 2, find a question for RFCU, is wireless college, how many timeout is better. default is 5 usleep times, above 8 is setting to 50. this setting is in door test. *********************************** ** re-Arrangement ALL components ** ** Version 3.5.x.x ** *********************************** 1, add three define's #define OLKKERNEL_VERSION #define OLKKERNEL_LAST_MODIFY_DATE #define OLKKERNEL_LAST_MODIFY_TIME 2, add method OLK_Kernel_Version(unsigned char *major, unsigned char *minor, unsigned char *release, unsigned char *build); OLK_Kernel_LastModify(char *LastModifyDateTime) 3, Each components will automatic version number please see version.h file. -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2007/10/25 at Office Taipei 1, add object version management, auto plus 1 create sver command create version.h -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2007/10/24 at Office Taipei 1, fix GPIO. 2, fix vdk support 2 bytes font code. 3, fix comport & cport rs-485 setting to port 4&8 -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2007/7/16 at Office Taipei 1, modify VisaWave V3.1 Transaction Limit 300 -> 3001 -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2007/7/7 at Office Taipei 1, Add method for IdTech Reader bool CheckCardExists(); -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2007/4/25 at Office Taipei 1, Add VisaWave V3.1 for THSRC project -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2006/10/31 at Office Taipei 1, fix IdTech Reader for T=1 command error. 2, fix comport support com9~com*** for ACB only. ACB RealCom support NPort5210 & Wireless 3, Add flscanner Object for Barcode scan -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2006/10/20 at Office Taipei 1, add Dongle Mutual Auth() with TSM110 SAM card keep old auth with software key add enum emAuthSAM { emVW_SOFT, emVW_TSM110 }; -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2006/10/18 at Office Taipei 1, change ACB-Lite Kernel to Ver:1.0.2.4 support LCM Display add speed 2, change VDK object support Ver:1.0.2.4 kernel display add speed 3, fix visaped getch() 4, change handset ExChangeAPDU timeout Simon fix handset BIOS & Middle Ware for JCB Card 5, add ftp622 print image & need change ftp622 fireware -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2006/09/05 at Office Taipei 1, add method at VDK for ACB-lite only add ioctl(fd, IOCTL_LCM_SAVE_BYTE, &(data[offset])) ; ioctl(fd, IOCTL_LCM_WRITE_BYTE, &dotposition) ; by byte add ioctl(fd, IOCTL_LCM_DISPLAY_OFF, 0) ; ioctl(fd, IOCTL_LCM_DISPLAY_ON, 0) ; -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2006/08/11 at Office Taipei 1, add udpclient & udpserver 2, change hybrireader autolock default to false Last Modify: -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2006/06/05 at Office Taipei 1, fix EMVL2 TAG 9F02, TermInfo.HexDigiNumber = 2 for CTCB & TAISHAN BANK VISA TEST 2, fix HyBriReader AUTOLOCK method 3, add function for FCB2100 extended fccarddapi, add some memory for read memory add Hardware link for fcb2100 4, add method event for CPC project add OnCableConnect() add OnCableDisconnect() for tcpclient & tcpserver -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2006/04/20 at Office Taipei 1, fix thread object, for destructor, and remove object. 2, change cpccard object 2-1, FLcard KID default value for MAC calculate. 2-2, FLcard MKey index default for MAC calculate. 3, finish EMVL2 porting from acv to acb-lite. -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2006/04/18 at Office Taipei 1, add cport object, it didn't include thread. use as same as Tcomport. 2, add database object 2-1, btree index support. 3, new TString, TStringBuff, TStringEx, TBerTLV object online. 3-1, support function same old one. 3-2, support Insert method. -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.1 2006/04/07 at Office Taipei 1, add two method at inifile void GetKeys(char *session, TString *keys); void GetSessions(TString *Sessions); 2, create smartcard.a for smartcard object library 2-1, create TSAM110 RSA RAM card object 2-1-1, add load RSA public key method 2-2, create FISC620 Smartcard 2-3, create FISCTSAM SAM card 2-4, create CPCCard for CPC project 2-4-1, support JL card 2-4-2, support FL card 3, add method for RSA object 3-1, support Generate RSA key pair. Last Modify: -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.0 2006/03/31 at Office Taipei 1, add DKB object method 1-1, bool DisplayShowSingleGraphice(byte Wid, byte x, byte y, dkbAttribute attr, char *pathfilename); 1-2, void DisplayShowPattern(byte Wid, int index, byte x, byte y, dkbAttribute attr, char *patternfilename); and modify dkbMakefont.exe uitility to make sure Single Graphice file. 2, add RSA object support 2048 bits -------------------------------------------------------------------------------------------------- Last Modify: Version:3.0.0.0 2006/03/17 at ... ...

近期下载者

相关文件


收藏者