The iPhone port uses a (iOS/iPhone) specfic database to store link keys, between sessions. This means that the client app only needs to authenticate once, and then can connect/disconnect at will.
This is implemented in the file 'remote_device_db_iphone.m'
We will need some form of persistant storage on the other platforms. Simon
Comment #1
Posted on May 8, 2011 by Quick WombatPatch adds rudementary keystore in memory, mallocs space for each key and stores them as a linked list.
Comment #2
Posted on May 13, 2011 by Quick Wombatmissed the 'cmp_bd_addr' function.
Patches below for this and to add RFCOMM name->channel mapping. Simon.
Comment #3
Posted on May 17, 2011 by Quick Wombatone more thing... we need an 'extern' defined.
Comment #4
Posted on May 17, 2011 by Swift Oxthanks for double-checking. -> r1102
more restructuring will be needed, getting to that, but still hogged up with other projects.
Comment #5
Posted on May 17, 2011 by Quick WombatI think you still need to pull '0001-153v2_persistance_keys.patch' and '0002-153v2_persistance_keys.patch' as well.
Simon
Comment #6
Posted on May 27, 2011 by Swift Oxhi. I'm ignoring 0001-153v2_persistance_keys.patch as utils.h already provides the BD_ADDR_CMP macro. I've applied and fixed compiler warnings in r1104
Status: Fixed
Labels:
Type-Defect
Priority-Medium