Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: I2a589599d83e3d1a78a602e60f824829a687be05
static bool g_stack_init_successful = 0;
static bool g_tag_attached = 0;
static bool g_p2p_attached = 0;
-
+static int current_connection_id = 1;
/* for llcp functionality */
socket_info_s socket_info_array[LLCP_NB_SOCKET_MAX] = {{0,}};
return;
}
+ target_detected->handle->connection_id = current_connection_id++;
+
if(target_detected->devType == NET_NFC_NFCIP1_TARGET ){
DEBUG_MSG("set llcp connection type. remote device is target");
handle->connection_type = NET_NFC_P2P_CONNECTION_TARGET;