Class desfire::pcd

Inheritance Relationships

Derived Type

Class Documentation

class pcd

Abstract class for a Proximity Coupling Device, i.e. a Desfire card reader.

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