nfc_se_reader_get_technology_types()
Retrieve the technology types that are emulated for the NFC reader.
Synopsis:
#include <nfc/nfc_se_access.h>
NFC_API nfc_result_t nfc_se_reader_get_technology_types(uint32_t hSESession, uint32_t batteryMode, uint32_t *pTechnologyTypes)
Arguments:
- hSESession
-
The handle to the open session.
- batteryMode
-
The battery mode to get the technology types for. Refer to battery_mode_t for valid battery modes.
- pTechnologyTypes
-
The technology types being emulated. This bit field is constructed from the technology_types_t constants.
Library:
libnfcDescription:
Use this function to determine what protocols are emulated by the device.
Returns:
NFC_RESULT_SUCCESS if the technology types are set successfully; or one of the following:
- NFC_RESULT_SERVICE_CONNECTION_ERROR: An attempt to connect to the NFC system has failed.
- NFC_RESULT_INVALID_PARAMETER: A parameter is invalid.
- NFC_RESULT_SE_INVALID_HANDLE: The hSESession is invalid.