OSDN Git Service

Implement createBondOutOfBand
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 29 Dec 2015 21:21:30 +0000 (13:21 -0800)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 4 Feb 2016 00:15:20 +0000 (16:15 -0800)
commit7ecde7c02c3f803cd182fe5c7bef8a410449b50e
tree0006611d11acf65c4d734f7327c2921d79eca55a
parent4518460e7b6e065ef161f69ef6d7ed79c3824b4c
Implement createBondOutOfBand

This patch implements out of band pairing that uses optional data.
Currently it works only for LE transport, using Temporary Key value.
In future fields might be added to OOBData to support other options for
optional data.

Change-Id: I1b4942e656be7b5d1ae5a4bf9d867ffd74753798
jni/com_android_bluetooth_btservice_AdapterService.cpp
src/com/android/bluetooth/btservice/AdapterService.java
src/com/android/bluetooth/btservice/BondStateMachine.java