SECURE_ELEMENT_HCE_DATA_PACKET structure (nfcsedev.h)
SECURE_ELEMENT_HCE_DATA_PACKET is an input buffer to IOCTL_NFCSE_HCE_REMOTE_SEND and output buffer for IOCTL_NFCSE_HCE_REMOTE_RECV.
Syntax
typedef struct _SECURE_ELEMENT_HCE_DATA_PACKET {
USHORT bConnectionId;
USHORT cbPayload;
BYTE pbPayload[ANYSIZE_ARRAY];
} SECURE_ELEMENT_HCE_DATA_PACKET, *PSECURE_ELEMENT_HCE_DATA_PACKET;
Members
bConnectionId
The ID of the connection established between the device and the smart card reader, on which to send and receive the HCE packet. This ID is also received from IOCTL_NFCSE_GET_NEXT_EVENT when the event type (SECURE_ELEMENT_EVENT_TYPE) is HceActivated or HceDeactivated. Then the pbEventData field of the returned SECURE_ELEMENT_EVENT_INFO structure is a SECURE_ELEMENT_HCE_ACTIVATION_PAYLOAD structure, which contains a bConnectionId member.
cbPayload
Length of ISO 7816-4 APDU buffer.
pbPayload[ANYSIZE_ARRAY]
Buffer holding ISO 7816-4 APDU.
Requirements
Requirement | Value |
---|---|
Header | nfcsedev.h |