Commit: 57f3f1a846d36f5802edd2283c47bf433f6ebaeb
Parent: 2a2c41bf4e06505620231b166f414ee9fd2bdca2
Author: Jakub Pawlowski <jpawlowski@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-09-07 15:22:36
Tree: 65db1e8fdb10fe32e0bdaad8e1d3a7fccf2a6419

src/device: gatt database persistence This patch adds whole gatt database persistence for paired LE devices. Storing whole database can have big impact on reconnection time for paired devices, because full discovery can take up to 10 seconds. Sample how stored database looks in cache file: [Attributes] 0001=2800:0005:1801 0002=2803:0003:20:2a05 0014=2800:001c:1800 0015=2803:0016:02:2a00 0017=2803:0018:02:2a01 0019=2803:001a:02:2aa6 0028=2800:ffff:0000180d-0000-1000-8000-00805f9b34fb 0029=2803:002a:10:00002a37-0000-1000-8000-00805f9b34fb 002b=2803:002c:02:00002a38-0000-1000-8000-00805f9b34fb 002d=2803:002e:08:00002a39-0000-1000-8000-00805f9b34fb

Diffstat

M src/device.c | 416 ++++++++++++++++++++++++++++++++++++++++-

1 files changed, 415 insertions(+), 1 deletions(-)

View Full Diff | Patch