Hello, I just want to set one random static bd addr using mesh SDK v3.1, and it seemed I have set correctly, but the SOC(nrf52840DK) still use the default bd addr which is read from NRF_FICR. the log is as follow
<t: 0>, main.c, 798, ----- BLE Mesh LPN Demo ----- <t: 12837>, main.c, 709, Initializing and adding models <t: 12844>, main.c, 779, gap_addr.addr: 7A9E2D6629DA <t: 12847>, main.c, 780, result: 00000000 <t: 17691>, nrf_mesh_prov_bearer_gatt.c, 335, gap_addr.addr: 7A9E2D6629DA <t: 17694>, nrf_mesh_prov_bearer_gatt.c, 336, result: 00000000 <t: 17697>, mesh_app_utils.c, 65, Device UUID (raw): 7A9E2D6629DAF0161464AA339227C4B7 <t: 17701>, mesh_app_utils.c, 70, Device UUID : 662D9E7A-DA29-16F0-1464-AA339227C4B7
but I what I actually got is
I used this api, but it didn't seem to work.
gap_addr.addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC;
uuid_test[5] |= 0xc0;
memcpy(gap_addr.addr, uuid_test, sizeof(gap_addr.addr));
mesh_opt_core_adv_addr_set(CORE_TX_ROLE_ORIGINATOR, &gap_addr);