Enum pn532::sam_mode

Enum Documentation

enum class pn532::sam_mode : std::uint8_t

Operating mode of the (optional) companion SAM chip (UM0701-02 §7.2.10).

Note

Normally PN532 do not come with a SAM chip, it seems that even the list of supported SAMs is under NDA, therefore unless you have actively signed an NDA, selected a chip and connected it to your PN532, the mode you want to use is sam_mode::normal.

Values:

enumerator normal

Normal mode, no SAM chip.

enumerator virtual_card

PN532+SAM is seen as a unique virtual card from the outside world.

enumerator wired_card

The host can access the SAM chip through the PN532.

enumerator dual_card

The host can communicate with both the PN532 and the SAM chip, distinctly.