|
| FeliCaCommands () |
|
| FeliCaCommands (std::string ct) |
|
virtual std::vector< unsigned short > | getSystemCodes ()=0 |
| Get system codes.
|
|
virtual unsigned short | requestService (unsigned short code) |
|
virtual std::vector< unsigned short > | requestServices (const std::vector< unsigned short > &codes)=0 |
| Request Services / Area versions.
|
|
virtual unsigned char | requestResponse ()=0 |
| Request Response, current FeliCa mode.
|
|
virtual ByteVector | read (unsigned short code, unsigned short block) |
|
virtual ByteVector | read (unsigned short code, const std::vector< unsigned short > &blocks) |
|
virtual ByteVector | read (const std::vector< unsigned short > &codes, const std::vector< unsigned short > &blocks)=0 |
| Read data from the chip.
|
|
virtual void | write (unsigned short code, const std::vector< unsigned short > &blocks, const ByteVector &data) |
|
virtual void | write (unsigned short code, unsigned short block, const ByteVector &data) |
|
virtual void | write (const std::vector< unsigned short > &codes, const std::vector< unsigned short > &blocks, const ByteVector &data)=0 |
| Write data to the chip.
|
|
Public Member Functions inherited from logicalaccess::Commands |
| Commands ()=delete |
| Constructor.
|
|
virtual | ~Commands () |
|
std::shared_ptr< Chip > | getChip () const override |
| Get the chip.
|
|
virtual void | setChip (std::shared_ptr< Chip > chip) |
| Set the chip.
|
|
std::shared_ptr< ReaderCardAdapter > | getReaderCardAdapter () const override |
| Get the reader/card adapter.
|
|
virtual void | setReaderCardAdapter (std::shared_ptr< ReaderCardAdapter > adapter) |
| Set the reader/card adapter.
|
|
virtual const std::string & | getCmdType () const |
| Get the cmd name.
|
|
virtual void | setCmdType (const std::string &command_type) |
| Set the cmd name.
|
|
Public Member Functions inherited from logicalaccess::ICommands |
virtual | ~ICommands ()=default |
|
virtual std::shared_ptr< Chip > | getChip () const =0 |
| Get the chip.
|
|
virtual std::shared_ptr< ReaderCardAdapter > | getReaderCardAdapter () const =0 |
| Get the reader/card adapter.
|
|
The FeliCa commands class.