SONY製のNFCカードリーダ RC-S620/S をイニシエータとして使用し、NFC Type-A/Bと通信するライブラリです。FeliCaとは通信できません。(This library can't communicate with FeliCa! Only for NFC Type-A/B.)
Diff: README.txt
- Revision:
- 0:16a4197a4dfb
diff -r 000000000000 -r 16a4197a4dfb README.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.txt Fri May 29 09:12:00 2020 +0000 @@ -0,0 +1,70 @@ +★★★★★★★★★★★★★★★★★ 重要 ★★★★★★★★★★★★★★★★★★★ + +このライブラリはNFC Type-A/B 用に作成したもので、 +FeliCaとの通信には使用できません! + +具体的には、リトライ回数を1にする等のFeliCaとの通信に必要な設定をしません。 + +FeliCaと通信するライブラリは、メーカー公式Arduino向けライブラリをベースに +SwitchScience様が作成した神ライブラリが既にあります! + +FeliCa用ライブラリ:https://os.mbed.com/users/okini3939/code/RCS620S/ + + +Type-A/Bと通信するため、簡易版リファレンスには記載のない +inDataExchangeを使用しています。自己責任でご使用ください。 + +※inDataExchangeについては、コマンド互換性のあるPN532の + ユーザーマニュアルに基づき実装しています。 + + +!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!! + +This library can't communicate with FeliCa! Only for NFC Type-A/B! +If you want to communicate with FeliCa, +please use library below made by SwitchScience. + +https://os.mbed.com/users/okini3939/code/RCS620S/ + +To communicates with Type-A/B, I used inDataExchange command +which is not described in the simplified version reference. +Please use this library at your own risk! + +*The implementation of inDataExchange is +based on the command compatible PN532's user manual. + +★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ + +SONY製NFC ICカードリーダライタ RC-S620/S をイニシエータ(in)として使用するライブラリです。 +DLCstarterでICカード免許証(NFC Type-B)を扱うために作成したもので、 +コマンドは免許証との通信に必要な分しか登録していません。 + +※const uint8_t 配列で有線/無線コマンドを定義しておけば、 +本ライブラリを使って任意なコマンドを投げることができます。 + コマンド部は RCS620S_command.h に分割しておりますので編集してご使用ください。 + +無線コマンドについては、inDataExchangeコマンド自動組み立て機能付きです。 +無線コマンド部分のみを用意しておけば面倒なチェックサムの計算等は自動でやってくれます。 + +※mbed.orgで検索すると"RCS620S”というライブラリがヒットしますが、 +メーカーが配布しているArduino向けライブラリをベースとしたFeliCaに特化したもので、 +免許証の読み取りには使えませんでした。 + +/*************************************************************************/ + +ライセンス表記 + +Copyright [2020] [H Mizuno] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +