nfc_se_transaction_get_protocol()

Retrieve the protocol used to perform the transaction.

Synopsis:

#include "nfc/nfc_se_transaction.h"
 
NFC_API unsigned int nfc_se_transaction_get_protocol(nfc_se_transaction_t *transaction)

Since:

BlackBerry 10.0.0

Arguments:

transaction

The transaction whose protocol type is being queried.

Library:

libnfc (For the qcc command, use the -l nfc option to link against this library)

Description:

This function returns a bit-mask of technology_types_t values representing the type of protocols available to perform the transaction.

Passing a value of NULL as an argument is not supported.

Note: The protocol used is not available to all types of transactions.

Returns:

The technology_types_t type of protocol used to perform the specified transaction, or TECHNOLOGY_TYPE_NONE if protocol information is unavailable.