|
cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
|
Concrete CW_NfcTransport over Adafruit_PN532 (SPI / I2C / UART). More...
#include <Arduino.h>#include <Adafruit_PN532.h>#include "cryptnox-sdk-cpp/CW_NfcTransport.h"#include "cryptnox-sdk-cpp/CW_Logger.h"#include "cryptnox-sdk-cpp/CW_Defs.h"Go to the source code of this file.
Classes | |
| class | PN532Adapter |
| CW_NfcTransport implementation over the Adafruit_PN532 driver. More... | |
Enumerations | |
| enum class | PN532Interface { PN532Interface::SPI_HARDWARE , PN532Interface::SPI_SOFTWARE , PN532Interface::I2C , PN532Interface::UART } |
| Physical wiring used to reach the PN532 reader. More... | |
Concrete CW_NfcTransport over Adafruit_PN532 (SPI / I2C / UART).
Declares PN532Adapter, the Arduino-side concrete transport that the host integration injects into CryptnoxWallet. Wraps the four wiring variants the Adafruit_PN532 library supports — hardware SPI, software (bit-banged) SPI, I2C, and UART — behind the single platform-independent CW_NfcTransport interface so the higher layers never need to know how the reader is actually wired.
Definition in file PN532Adapter.h.