nfc_se_channel_is_basic_channel()
Indicate if the specified channel is the basic channel.
Synopsis:
#include <nfc/nfc_se_access.h>
NFC_API nfc_result_t nfc_se_channel_is_basic_channel(uint32_t hSEchannel, bool *pIsBasicChannel)
Arguments:
- hSEchannel
-
The handle to the channel of interest.
- pIsBasicChannel
-
true if the handle refers to a basic channel, false otherwise. This value is valid only when this function returns NFC_RESULT_SUCCESS.
Library:
libnfcDescription:
Returns:
NFC_RESULT_SUCCESS if the platform is able to determine if the specified channel is a basic channel; 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 hSEchannel is invalid.