[Tizen]Fix for LE Server termination issue
authorvimala.v <vimala.v@samsung.com>
Wed, 11 May 2016 07:07:17 +0000 (12:37 +0530)
committerJon A. Cruz <jon@joncruz.org>
Fri, 27 May 2016 05:06:43 +0000 (05:06 +0000)
commit65101e97c8724383510baf4ea1443faec43f79b3
tree6367200a34fcd1dceb7561af0ce47b62ef860adf
parent1f5ea64c3fe0a3afc5336ec1bd56775ff2b19ebf
[Tizen]Fix for LE Server termination issue

On terminating, LE server doesn't call Disconnect to all the clients
connected.  This patch resolves the issue by maintaining client list
at the server and on terminating, the server disconnects with all
the clients it is connected with.

Change-Id: I0e177dbb3a2803e1d21ccc5a9d0298faa77f5740
Signed-off-by: vimala.v <vimala.v@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8105
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
resource/csdk/connectivity/inc/caleinterface.h
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.h
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleserver.c
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleserver.h
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleutil.c
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleutil.h