Class desfire::pcd
Defined in File pcd.hpp
Inheritance Relationships
Derived Type
public pn532::desfire_pcd
(Class pn532::desfire_pcd)
Class Documentation
-
class pcd
Abstract class for a Proximity Coupling Device, i.e. a Desfire card reader.
See also
Subclassed by pn532::desfire_pcd
Public Functions
-
virtual std::optional<mlab::bin_data> communicate(mlab::bin_data const &data) = 0
Exchanges data with an NFC card.
- Parameters:
data – Data to send
- Returns:
A response-success pair; the first element of the pair is the response from the card, the second boolean represent whether the exchange was successful.
-
virtual ~pcd() = default
-
virtual std::optional<mlab::bin_data> communicate(mlab::bin_data const &data) = 0