LE CoC: Add FRWK APIs for L2CAP_LE type socket 03/299403/1
authorAyush Garg <ayush.garg@samsung.com>
Mon, 7 Mar 2022 06:28:00 +0000 (11:58 +0530)
committerAnuj Jain <anuj01.jain@samsung.com>
Wed, 27 Sep 2023 09:06:52 +0000 (14:36 +0530)
commit1c3a7cd5715ed4dabf9a87d720c39e4b93b53020
treebcafae1db1467a22caa33f6d50110cd70c4841b2
parent2c1a1319d7a1a31933002d0ccfea176cb4855ba4
LE CoC: Add FRWK APIs for L2CAP_LE type socket

This patch adds the following:
- Export APIs to create and remove L2CAP_LE socket
- Export APIs to listen, connect and disconnect to
L2CAP_LE socket
- Implement event handler for connection, disconnection
and authorization.

To avoid build conflict please merge this patch after merging bluez
patch: (Change-Id: I7f4f6ba5fe49b6d3fa05bfbc3a1b2bfdd269c6bb)

Change-Id: I7808664b833da9f0625b75d7fe4640fdd3cd52b3
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
bt-api/CMakeLists.txt
bt-api/bt-common.c
bt-api/bt-event-handler.c
bt-api/bt-l2cap-le-client.c [new file with mode: 0644]
bt-api/bt-l2cap-le-server.c [new file with mode: 0644]
bt-api/include/bt-common.h
include/bluetooth-api.h