SONY製のNFCカードリーダ RC-S620/S をイニシエータとして使用し、NFC Type-A/Bと通信するライブラリです。FeliCaとは通信できません。(This library can't communicate with FeliCa! Only for NFC Type-A/B.)

Dependents:   DLC_STARTER

RCS620S_command.h

Committer:
hmizuno
Date:
2020-05-29
Revision:
0:16a4197a4dfb

File content as of revision 0:16a4197a4dfb:

//カードリーダの有線コマンド(データ部のみ)
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};