OSDN Git Service

android/bluetooth: Add initial support for permanent storage
authorSzymon Janc <szymon.janc@tieto.com>
Thu, 19 Dec 2013 12:38:29 +0000 (13:38 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 20 Dec 2013 12:07:22 +0000 (14:07 +0200)
commit316d0eec541521d0ffe9a1d04a5c4bb2deac7e12
tree670004c272cf6db0a9ee98ff0d2bc3ec8ee3d069
parent82c1095423b0b871b5fdd62c510b21d85b0cb240
android/bluetooth: Add initial support for permanent storage

This patch adds initial support for storing adapter configuration.
Currently stored data is address, name and discoverable timeout.

Since Android daemon storage format is to be simpler than Linux check
if correct adapter is used before going operational. This is
a precaution to avoid e.g. using linkkeys generated for different
controller.
android/Android.mk
android/bluetooth.c
configure.ac