summaryrefslogtreecommitdiffstats
path: root/src/phLibNfc_Internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/phLibNfc_Internal.h')
-rw-r--r--src/phLibNfc_Internal.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/phLibNfc_Internal.h b/src/phLibNfc_Internal.h
index 304ac22..c136032 100644
--- a/src/phLibNfc_Internal.h
+++ b/src/phLibNfc_Internal.h
@@ -134,6 +134,10 @@ typedef struct phLibNfc_Hal_CB_Info
pphLibNfc_LlcpLinkStatusCb_t pClientLlcpLinkCb;
void *pClientLlcpLinkCntx;
+ /*LLCP service discovery*/
+ pphLibNfc_RspCb_t pClientLlcpDiscoveryCb;
+ void *pClientLlcpDiscoveryCntx;
+
}phLibNfc_Hal_CB_Info_t;
typedef struct phLibNfc_NdefInfo
@@ -192,10 +196,10 @@ typedef struct phLibNfc_LlcpInfo
phFriNfc_Llcp_t sLlcpContext;
/* LLC Rx buffer */
- uint8_t pRxBuffer[1024];
+ uint8_t pRxBuffer[PHFRINFC_LLCP_PDU_HEADER_MAX + PHFRINFC_LLCP_MIU_DEFAULT + PHFRINFC_LLCP_MIUX_MAX];
/* LLC Tx buffer */
- uint8_t pTxBuffer[1024];
+ uint8_t pTxBuffer[PHFRINFC_LLCP_PDU_HEADER_MAX + PHFRINFC_LLCP_MIU_DEFAULT + PHFRINFC_LLCP_MIUX_MAX];
} phLibNfc_LlcpInfo_t;