SONY製のNFCカードリーダ RC-S620/S をイニシエータとして使用し、NFC Type-A/Bと通信するライブラリです。FeliCaとは通信できません。(This library can't communicate with FeliCa! Only for NFC Type-A/B.)
RCS620S_command.h@2:08ccf5062b69, 2020-06-13 (annotated)
- Committer:
- hmizuno
- Date:
- Sat Jun 13 01:57:30 2020 +0000
- Revision:
- 2:08ccf5062b69
- Parent:
- 0:16a4197a4dfb
Add timeout retry when UART communication fails
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hmizuno | 0:16a4197a4dfb | 1 | //カードリーダの有線コマンド(データ部のみ) |
hmizuno | 0:16a4197a4dfb | 2 | const uint8_t wired_data_InListPassiveTarget_typeA[] = {0xD4,0x4A,0x01,0x00}; |
hmizuno | 0:16a4197a4dfb | 3 | const uint8_t wired_data_InListPassiveTarget_typeB[] = {0xD4,0x4A,0x01,0x03,0x00}; //AFIは指定なし |
hmizuno | 0:16a4197a4dfb | 4 | |
hmizuno | 0:16a4197a4dfb | 5 | const uint8_t wired_data_GetFirmwareVersion[] = {0xD4,0x02}; |
hmizuno | 0:16a4197a4dfb | 6 | const uint8_t wired_data_GetGeneralStatus[] = {0xD4,0x04}; |
hmizuno | 0:16a4197a4dfb | 7 | const uint8_t wired_data_Reset[] = {0xD4,0x18,0x01}; |
hmizuno | 0:16a4197a4dfb | 8 | const uint8_t wired_data_RFConfiguration_RFoff[] = {0xD4,0x32,0x01,0x00}; |
hmizuno | 0:16a4197a4dfb | 9 | const uint8_t wired_data_RFConfiguration_PowerDown[] = {0xD4,0x16,0x10}; |
hmizuno | 0:16a4197a4dfb | 10 | const uint8_t wired_data_AdditionalTime24ms[] = {0xD4,0x32,0x81,0xB7}; |
hmizuno | 0:16a4197a4dfb | 11 | |
hmizuno | 0:16a4197a4dfb | 12 | const uint8_t wired_complete_ACK[] = {0x00,0x00,0xFF,0x00,0xFF,0x00}; |