OSDN Git Service

support peripheral mode feature to connect iphone to android device.
authorZhihai Xu <zhihaixu@google.com>
Mon, 10 Feb 2014 18:57:13 +0000 (10:57 -0800)
committerZhihai Xu <zhihaixu@google.com>
Mon, 24 Feb 2014 22:02:39 +0000 (14:02 -0800)
commit602162a13c6ed8abae53aee6deeda48b79f30911
treea3b0501c44b9ffa68b3f73ad3e9886c451021fa0
parent5fba60a8761b28adec2704dcbf69376ebde4f19b
support peripheral mode feature to connect iphone to android device.

enable BLE_PERIPHERAL_MODE_SUPPORT flag and fix the bug
the discoverability flag is not set in advertisement packet,
which cause the central device(iphone) can not find android device
during scan.
use displayOnly IO cap for dory, so dory can display the pin,
and the iphone(central device) will input the pin.
bug:12797572

Change-Id: Ie15ea9e340e3692df846399b9a85aa6d2a97eba7
btif/src/btif_gatt_client.c
include/bt_target.h
stack/gatt/gatt_api.c
stack/include/btm_ble_api.h
stack/smp/smp_act.c