SONY製のNFCカードリーダ RC-S620/S をイニシエータとして使用し、NFC Type-A/Bと通信するライブラリです。FeliCaとは通信できません。(This library can't communicate with FeliCa! Only for NFC Type-A/B.)
Diff: RCS620S_command.h
- Revision:
- 0:16a4197a4dfb
diff -r 000000000000 -r 16a4197a4dfb RCS620S_command.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RCS620S_command.h Fri May 29 09:12:00 2020 +0000 @@ -0,0 +1,12 @@ +//カードリーダの有線コマンド(データ部のみ) +const uint8_t wired_data_InListPassiveTarget_typeA[] = {0xD4,0x4A,0x01,0x00}; +const uint8_t wired_data_InListPassiveTarget_typeB[] = {0xD4,0x4A,0x01,0x03,0x00}; //AFIは指定なし + +const uint8_t wired_data_GetFirmwareVersion[] = {0xD4,0x02}; +const uint8_t wired_data_GetGeneralStatus[] = {0xD4,0x04}; +const uint8_t wired_data_Reset[] = {0xD4,0x18,0x01}; +const uint8_t wired_data_RFConfiguration_RFoff[] = {0xD4,0x32,0x01,0x00}; +const uint8_t wired_data_RFConfiguration_PowerDown[] = {0xD4,0x16,0x10}; +const uint8_t wired_data_AdditionalTime24ms[] = {0xD4,0x32,0x81,0xB7}; + +const uint8_t wired_complete_ACK[] = {0x00,0x00,0xFF,0x00,0xFF,0x00}; \ No newline at end of file