summaryrefslogtreecommitdiffstats
path: root/src/phFriNfc_LlcpTransport.h
diff options
context:
space:
mode:
authorArnaud Ferir <arnaud.ferir@trusted-logic.com>2010-12-21 18:10:50 +0100
committerNick Pelly <npelly@google.com>2011-01-18 13:22:46 -0800
commit76270e7c32ec0c558907430e756712d5b68b417c (patch)
tree3365a0c4f24e4d413d40a5382a5931e6403b66f3 /src/phFriNfc_LlcpTransport.h
parent1ec4ace9cd3079abd7c0b30d0976591c8c0f441e (diff)
downloadexternal_libnfc-nxp-76270e7c32ec0c558907430e756712d5b68b417c.zip
external_libnfc-nxp-76270e7c32ec0c558907430e756712d5b68b417c.tar.gz
external_libnfc-nxp-76270e7c32ec0c558907430e756712d5b68b417c.tar.bz2
Allow LLCP socket creation before link establishment.
This enables to register a server socket prior to LLCP link establishement and avoid any race condition between the local server and the remote client. The modification implies a LLCP socket API change (added the device handle parameter in all LLCP API that can lead to active data exchange). The LLCP socket internal structures are now initialized during LLCP link parameter configuration step instead of LLCP compliancy check to save socket state independently from peer detection. Also removed unused socket states and added some traces. Change-Id: I961c48af4ca9ace68d41b9569dc1038bb2bbdc71
Diffstat (limited to 'src/phFriNfc_LlcpTransport.h')
-rw-r--r--src/phFriNfc_LlcpTransport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/phFriNfc_LlcpTransport.h b/src/phFriNfc_LlcpTransport.h
index 7d77634..9b35482 100644
--- a/src/phFriNfc_LlcpTransport.h
+++ b/src/phFriNfc_LlcpTransport.h
@@ -62,8 +62,6 @@ typedef enum phFriNfc_LlcpTransportSocket_eSocketState
phFriNfc_LlcpTransportSocket_eSocketDisconnected,
phFriNfc_LlcpTransportSocket_eSocketDisconnecting,
phFriNfc_LlcpTransportSocket_eSocketRejected,
- phFriNfc_LlcpTransportSocket_eSocketClosed,
- phFriNfc_LlcpTransportSocket_eSocketClosing,
}phFriNfc_LlcpTransportSocket_eSocketState_t;