nfc_se_channel_get_session()

Retrieve the session that has opened this channel.

Synopsis:

#include <nfc/nfc_se_access.h>
 
NFC_API nfc_result_t nfc_se_channel_get_session(uint32_t hSEChannel, uint32_t *phSESession)

Since:

BlackBerry 10.0.0

Arguments:

hSEChannel

The handle to the channel of interest.

phSESession

The handle to the Session that was used to open the channel.

Library:

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

Description:

Returns:

NFC_RESULT_SUCCESS if the session is retrieved successfully; or one of the following: