From 9725f3af74fc6b2a0bd4a9074744b10d3bfb7e51 Mon Sep 17 00:00:00 2001 From: shreeyash Date: Thu, 12 Sep 2024 15:39:30 +0530 Subject: [PATCH] fix(nimble): Added a change to print address of an advertising instance --- examples/bluetooth/nimble/ble_multi_adv/main/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/bluetooth/nimble/ble_multi_adv/main/main.c b/examples/bluetooth/nimble/ble_multi_adv/main/main.c index b1d00f0d8a..10e279864e 100644 --- a/examples/bluetooth/nimble/ble_multi_adv/main/main.c +++ b/examples/bluetooth/nimble/ble_multi_adv/main/main.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2017-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -105,6 +105,8 @@ ble_multi_adv_set_addr(uint16_t instance) return rc; } + print_addr(addr.val); + memcpy(&ble_instance_cb[instance].addr, &addr, sizeof(addr)); return 0; }