該驅動為 FM8303 實現(xiàn)讀/寫卡功能提供了一套應用層接口,使 Java 應用程序無需 關心底層驅動程序實現(xiàn)細節(jié)。
目 錄
1 FM8303 驅動簡介 ................................................ 4
2 驅動API 功能及描述 .............................................. 5
2.1 API 描述 ................................................. 5
2.1.1 FM_Reader_Factory ................................... 5
2.1.1.1 getInstance .............................................................................................. 5
2.1.1.2 getReader ................................................................................................ 5
2.1.2 FM_Reader ........................................... 5
2.1.2.1 open ............................................................................................................ 5
2.1.2.2 close ......................................................................................................... 6
2.1.2.3 setCardType ............................................................................................ 6
2.1.2.4 closeRF .................................................................................................... 6
2.1.2.5 fieldon ....................................................................................................... 6
2.1.2.6 reset .......................................................................................................... 8
2.1.2.7 dsiactive ................................................................................................... 8
2.1.2.8 setDefualtPPS4CT ................................................................................. 8
2.1.2.9 setPPS4CT .............................................................................................. 8
2.1.2.10 setPPS4RF ........................................................................................... 8
2.1.2.11 getAppInfo ............................................................................................. 8
2.1.2.12 ReadAppCrc ......................................................................................... 9
2.1.3 IsoDepReader ......................................... 9
2.1.3.1 apdu .......................................................................................................... 9
2.1.3.2 tpdu ........................................................................................................... 9
2.1.4 MifareReader ........................................ 10
2.1.4.1 authenticateSectorWithKeyA .............................................................. 10
2.1.4.2 authenticateSectorWithKeyB .............................................................. 10
2.1.4.3 decrement .............................................................................................. 11
2.1.4.4 increment ............................................................................................... 11
2.1.4.5 transfer ................................................................................................... 11
2.1.4.6 initval ...................................................................................................... 12
2.1.4.7 readval ................................................................................................... 12
2.1.4.8 readBlock ............................................................................................... 12
2.1.4.9 writeBlock .............................................................................................. 13
- PC官方版
- 安卓官方手機版
- IOS官方手機版