Parent: 8da8df121d005cafc54a0a01808c0f97cefc4eb9
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-11-24 13:33:42
Tree: 815ec99cef62dce8500f87d6eef6bf5d73c9de06
android/sco: Add SCO helper library This patch adds sco lib which gives means to create SCO object with API to create listening socket, connect and disconnect. This is going to be common code for HFP HF and HFP GW. For now we support only one SCO at the time. SCO listening socket is created once bt_sco_new() is called, but SCO connection is possible only if confirm and connect callbacks are registered. Sco lib is not aware about voice settings. Those must be provided on bt_sco_connect or in confirm callback. This patch also adds this lib to Android build.
Diffstat
| M | android/Android.mk | | | 1 | + |
| M | android/Makefile.am | | | 1 | + |
| A | android/sco.c | | | 361 | ++++++++++++++++++++++++++++++++++++++++ |
| A | android/sco.h | | | 51 | ++++++++++++++++++++++++++++++++++++++++ |
4 files changed, 414 insertions(+), 0 deletions(-)