LE CoC: Add FRWK APIs for L2CAP_LE type socket 64/272064/1
authorAyush Garg <ayush.garg@samsung.com>
Mon, 7 Mar 2022 06:28:00 +0000 (11:58 +0530)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 7 Mar 2022 06:35:01 +0000 (12:05 +0530)
commit9fcd6e4032b140eeb1be3fc3569684ef1b85ef46
tree545ebb3aebc43b30e8cc795988404cb052cb73b9
parente03d04208c00160d70903983ec295832056b0867
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.

Change-Id: I7808664b833da9f0625b75d7fe4640fdd3cd52b3
Signed-off-by: Ayush Garg <ayush.garg@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