Typedef pn532::result

Typedef Documentation

template<class ...Tn>
using pn532::result = mlab::result<channel_error, Tn...>

A variant type which either holds arbitrary data, or an error code in the form of a channel_error.

Note

The errors produced by the PN532 commands are of channel_error type, not of internal_error_code type; in fact, the internal_error_code can only be retrieved from general_status or rf_status.