Most smartphones implement some sort of advertising data caching. Try stopping and starting scanning from the phone a couple of times to see if the name is updated without the need to connect.
From: users@... <users@...> On Behalf Of j.cheng via Lists.Zephyrproject.Org
Sent: 10 February 2020 10:06
Subject: [Zephyr-users] bt_set_name() and setting local name #ble #bt #bluetooth #api