linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GATT] Query about GATT client and server HAL interfaces
@ 2016-09-29 12:03 Anupam Roy
  0 siblings, 0 replies; only message in thread
From: Anupam Roy @ 2016-09-29 12:03 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: sachin.dev

Dear All,
  The GATT client interface (bt_gatt_client.h) has API's like listen (for start\stop advetisement) as well
as Multi adv enable\disable\data set API's (although Multi Adv api'S are not currently supported)

Although, GAP peripheral\central roles are not tied to GATT server\CLient roles,
but it seems as per HAL interface, an application implementing GATT server role by using HAL Gatt server interface, can not do advertising,
whereas, an application implementing GAP client role can by using listen() API?

Normally it is GATT server which hosts services and does advertisement and eventually listens to incoming connection.
Therefore, is the above design of API's has some specific meaning in the bluedroid stack context? Please help me understand.

Apart from above, the advertisement related fucntions are LE adapter specific and ideAlly should be separated from GATT interfaces
Perhaps, the upstream AOSP project has already separated out the LE Adv functionalities except the listen() function which is still present
in GATT client interface explained above.
Do we have any plan to separate them out in near future for BFA?

Thank You in advance for your valuable inputs.

BR,
-Anupam Roy

Signed-off-by: Anupam Roy <anupam.r@samsung.com>
---
 mail | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 mail

diff --git a/mail b/mail
new file mode 100644
index 0000000..e69de29
-- 
1.9.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-29 12:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 12:03 [GATT] Query about GATT client and server HAL interfaces Anupam Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).