[Bluetooth][OTP] Add base code for OTP server role 57/121657/7
authorGowtham Anandha Babu <gowtham.ab@samsung.com>
Tue, 28 Mar 2017 10:34:42 +0000 (16:04 +0530)
committerPyun DoHyun <dh79.pyun@samsung.com>
Wed, 12 Apr 2017 06:57:40 +0000 (23:57 -0700)
commit759b6aa12863033f0f25d307b62597a829228160
tree675322a40d82137959487a62870b013ae104fd1b
parent4377442ea72e339e799a2147bb4285f95b306730
[Bluetooth][OTP] Add base code for OTP server role

Implement OTP server role:
-------------------------
1) Add logic for init / deinit the OTP server.
2) On init, OTP server will run as a process
   called bt-otp.
3) Add support to indicate OTP server state(enabled/disabled)
   to applicaton.

All TODOs will be handled in upcoming patch set.

Change-Id: I98aa0a8988884d612ac05e8b52e4c5ccf637a500
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
23 files changed:
CMakeLists.txt
bt-api/CMakeLists.txt
bt-api/bt-common.c
bt-api/bt-event-handler.c
bt-api/bt-otp.c [new file with mode: 0644]
bt-core/CMakeLists.txt
bt-core/bt-core-adapter.c
bt-core/bt-core-dbus-handler.c
bt-core/include/bt-core-dbus-handler.h
bt-otp/CMakeLists.txt [new file with mode: 0644]
bt-otp/bluetooth-frwk-otp.conf [new file with mode: 0644]
bt-otp/bt-otpserver.c [new file with mode: 0644]
bt-otp/bt-otpserver.h [new file with mode: 0755]
bt-otp/org.projectx.otp.service [new file with mode: 0644]
bt-service/CMakeLists.txt
bt-service/bt-request-handler.c
bt-service/bt-service-common.c
bt-service/bt-service-event-sender.c
bt-service/bt-service-otp.c [new file with mode: 0644]
bt-service/include/bt-service-otp.h [new file with mode: 0644]
include/bluetooth-api.h
include/bt-internal-types.h
packaging/bluetooth-frwk.spec