summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2016-02-01 18:15:52 +0200
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:31 -0500
commit479d25d0359f4350e0f3676fd30164b548d5dff1 (patch)
tree36f90bfe02e831224f0f7a3a2f00154c23d8f429 /samples
parent8baedd3a6bb65c91e5649f86c00233459a98b544 (diff)
Bluetooth: Rename BT_LE_ADV_ADDR_PUBLIC to BT_LE_ADV_ADDR_IDENTITY
In anticipation of supporting a local static random address in the future it makes more sense to call BT_LE_ADV_ADDR_PUBLIC BT_LE_ADV_ADDR_IDENTITY. Change-Id: I4826f1dfb50b54e13a35cbe7ee74e28641c81ad1 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/bluetooth/shell/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/bluetooth/shell/src/main.c b/samples/bluetooth/shell/src/main.c
index f6cb8b5dc..c6cbbb72a 100644
--- a/samples/bluetooth/shell/src/main.c
+++ b/samples/bluetooth/shell/src/main.c
@@ -575,12 +575,12 @@ static void cmd_advertise(int argc, char *argv[])
if (!strcmp(argv[1], "on")) {
param.type = BT_LE_ADV_IND;
- param.addr_type = BT_LE_ADV_ADDR_PUBLIC;
+ param.addr_type = BT_LE_ADV_ADDR_IDENTITY;
scan_rsp = sd;
scan_rsp_len = ARRAY_SIZE(sd);
} else if (!strcmp(argv[1], "scan")) {
param.type = BT_LE_ADV_SCAN_IND;
- param.addr_type = BT_LE_ADV_ADDR_PUBLIC;
+ param.addr_type = BT_LE_ADV_ADDR_IDENTITY;
scan_rsp = sd;
scan_rsp_len = ARRAY_SIZE(sd);
} else if (!strcmp(argv[1], "nconn")) {