Commit: 2118c0040925119702d5ad557448bb5bf733538b
Parent: 9d21c7aada9c1f9d4555f52c3b6154f8dd6ceec2
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-05-07 21:29:42
Tree: ba630b2e388d507910e844093735111717d18b76

gatttool: Add option to specify LE address type This patch makes possible to specify LE address type. After advertising cache was removed from kernel we should always specify address type for LE link when calling bt_io_connect() as otherwise random will always be used. LE address type can be specified either by 'addr-type' or 't' command line parameter or as additional parameter to 'connect' command in interactive mode. Possible values are 'public' (default) and 'random'.

Diffstat

M attrib/gatttool.c | 8 ++++++- -
M attrib/gatttool.h | 7 ++++- - -
M attrib/interactive.c | 17 +++++++++++++- - - -
M attrib/utils.c | 12 ++++++++++- -

4 files changed, 33 insertions(+), 11 deletions(-)

View Full Diff | Patch