diff options
author | doug yeager <doug@simplytapp.com> | 2012-08-23 10:27:28 -0500 |
---|---|---|
committer | doug yeager <doug@simplytapp.com> | 2012-08-28 10:03:02 -0500 |
commit | 55f43da8fa1a5ac7e9e88f81381a80345fa3ac50 (patch) | |
tree | 1d98c808147e9c5c1cbb84077049c0d634d53636 /src/phHciNfc_CE_B.h | |
parent | 42fef9f8aa6d0878cb3f2c050c637afa7f8d8abd (diff) | |
download | external_libnfc-nxp-55f43da8fa1a5ac7e9e88f81381a80345fa3ac50.zip external_libnfc-nxp-55f43da8fa1a5ac7e9e88f81381a80345fa3ac50.tar.gz external_libnfc-nxp-55f43da8fa1a5ac7e9e88f81381a80345fa3ac50.tar.bz2 |
card emulation patch port to JB
Change-Id: I86657f9c547840de33c35df4912b5f282d4fe459
Diffstat (limited to 'src/phHciNfc_CE_B.h')
-rwxr-xr-x[-rw-r--r--] | src/phHciNfc_CE_B.h | 56 |
1 files changed, 14 insertions, 42 deletions
diff --git a/src/phHciNfc_CE_B.h b/src/phHciNfc_CE_B.h index e34e2db..9de7526 100644..100755 --- a/src/phHciNfc_CE_B.h +++ b/src/phHciNfc_CE_B.h @@ -78,7 +78,7 @@ typedef enum phHciNfc_CE_B_Seq{ HOST_CE_B_ATQB_SEQ, HOST_CE_B_ENABLE_SEQ, HOST_CE_B_DISABLE_SEQ, - HOST_CE_B_PIPE_CLOSE, + HOST_CE_B_PIPE_CLOSE, HOST_CE_B_PIPE_DELETE }phHciNfc_CE_B_Seq_t; @@ -89,7 +89,7 @@ typedef struct phHciNfc_CE_B_Info{ /* Pointer to the card emulation B pipe information */ phHciNfc_Pipe_Info_t *p_pipe_info; uint8_t pipe_id; - + } phHciNfc_CE_B_Info_t; /* @@ -101,7 +101,7 @@ typedef struct phHciNfc_CE_B_Info{ * * This function Allocates the resources of the card emulation B management * gate Information Structure. - * + * */ extern NFCSTATUS @@ -112,7 +112,7 @@ phHciNfc_CE_B_Init_Resources( /** * \ingroup grp_hci_nfc * -* The phHciNfc_CE_B_Get_PipeID function gives the pipe id of the card +* The phHciNfc_CE_B_Get_PipeID function gives the pipe id of the card * emulation B gate * * \param[in] psHciContext psHciContext is the pointer to HCI Layer @@ -135,13 +135,13 @@ phHciNfc_CE_B_Get_PipeID( /** * \ingroup grp_hci_nfc * -* The phHciNfc_CE_B_Update_PipeInfo function updates the pipe_id of the card +* The phHciNfc_CE_B_Update_PipeInfo function updates the pipe_id of the card * emulation B gate management Structure. * * \param[in] psHciContext psHciContext is the pointer to HCI Layer * context Structure. * \param[in] pipeID pipeID of the card emulation A gate -* \param[in] pPipeInfo Update the pipe Information of the reader +* \param[in] pPipeInfo Update the pipe Information of the reader * A gate * * \retval NFCSTATUS_SUCCESS Function execution is successful. @@ -167,35 +167,6 @@ phHciNfc_CE_B_Update_PipeInfo( * context Structure. * \param[in] pHwRef pHwRef is the Information of * the Device Interface Link -* \param[in] pipeID pipeID of the card emulation B gate -* \param[in] pPipeInfo Update the pipe Information of the card -* emulation B gate -* -* \retval NFCSTATUS_SUCCESS Function execution is successful. -* \retval NFCSTATUS_INVALID_PARAMETER One or more of the supplied parameters -* could not be interpreted properly. -* -*/ -#ifdef CE_B_SEND_EVENT -extern -NFCSTATUS -phHciNfc_CE_B_SendData_Event( - void *psContext, - void *pHwRef, - uint8_t *pEvent, - uint8_t length - ); -#endif /* #ifdef CE_B_SEND_EVENT */ - -/** -* \ingroup grp_hci_nfc -* -* The phHciNfc_CE_B_Mode function sends data to the set the card emulation mode -* -* \param[in] psHciContext psHciContext is the pointer to HCI Layer -* context Structure. -* \param[in] pHwRef pHwRef is the Information of -* the Device Interface Link * \param[in] enable_type type to enable * * \retval NFCSTATUS_SUCCESS Function execution is successful. @@ -203,6 +174,7 @@ phHciNfc_CE_B_SendData_Event( * could not be interpreted properly. * */ +extern NFCSTATUS phHciNfc_CE_B_Mode( void *psHciHandle, @@ -213,7 +185,7 @@ phHciNfc_CE_B_Mode( /** * \ingroup grp_hci_nfc * -* The phHciNfc_CE_B_Initialise function opens the CE B and set all the +* The phHciNfc_CE_B_Initialise function opens the CE B and set all the * required parameters for CE B * * \param[in] psHciContext psHciContext is the pointer to HCI Layer @@ -226,7 +198,7 @@ phHciNfc_CE_B_Mode( * could not be interpreted properly. * */ -extern +extern NFCSTATUS phHciNfc_CE_B_Initialise( phHciNfc_sContext_t *psHciContext, @@ -236,7 +208,7 @@ phHciNfc_CE_B_Initialise( /** * \ingroup grp_hci_nfc * -* The phHciNfc_CE_B_Initialise function close the CE B and reset all the +* The phHciNfc_CE_B_Initialise function close the CE B and reset all the * required parameters to default value of CE B * * \param[in] psHciContext psHciContext is the pointer to HCI Layer @@ -249,7 +221,7 @@ phHciNfc_CE_B_Initialise( * could not be interpreted properly. * */ -extern +extern NFCSTATUS phHciNfc_CE_B_Release( phHciNfc_sContext_t *psHciContext, @@ -259,12 +231,12 @@ phHciNfc_CE_B_Release( /** * \ingroup grp_hci_nfc * -* The phHciNfc_CE_B_Update_Seq function to update CE B sequence depending on the +* The phHciNfc_CE_B_Update_Seq function to update CE B sequence depending on the * specified \ref seq_type * * \param[in] psHciContext psHciContext is the pointer to HCI Layer * context Structure. -* \param[in] seq_type sequence type specified in +* \param[in] seq_type sequence type specified in * \ref phHciNfc_eSeqType_t * * \retval NFCSTATUS_SUCCESS Function execution is successful. @@ -272,7 +244,7 @@ phHciNfc_CE_B_Release( * could not be interpreted properly. * */ -extern +extern NFCSTATUS phHciNfc_CE_B_Update_Seq( phHciNfc_sContext_t *psHciContext, |