该驱动为 FM8303 实现读/写卡功能提供了一套应用层接口,使 Java 应用程序无需 关心底层驱动程序实现细节。
目 录
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官方手机版