Fix : Wrong service is disconnected 81/125381/1
authorSeungyoun Ju <sy39.ju@samsung.com>
Tue, 11 Apr 2017 09:26:15 +0000 (18:26 +0900)
committerSeungyoun Ju <sy39.ju@samsung.com>
Mon, 17 Apr 2017 07:12:36 +0000 (16:12 +0900)
commit73307e43850c8cdf2365a9e13bd98837f59bd3c0
tree076293619c69b1ea54de019f3006f4399c961a2b
parente0073328c69221255f1a566b2775d7c7c23b3258
Fix : Wrong service is disconnected

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] P170328-03204
[Request] PLM
[Occurrence Version] R360XXE1CQC1

[Problem] If there are external profiles which have same UUID but
 different role and both are connected, DisconnectProfile method call
 couldn't be operated properly. Because it always selects the first
 service using the UUID.
[Cause & Measure] DisconnectProfile method call always selects the first
 service using the UUID. So new method call is added to select the
 service using the object path.
 Based on the parameter, proper service could be selected and it handles
 disconnection.
[Checking Method] Make client / server RFCOMM connections using same
 UUID at the same time -> Disconnect server connection

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I66ad3c6f5d7b9d4d6c5e3a8c1dec8f4a663b53c5
doc/device-api.txt
src/device.c
src/profile.c
src/profile.h