You can get the BLE device name only if it is contained in the advertising packet or scan response packet.
If the slave doesn't broadcast the name in them, the master can't get it.
I have confirmed on the nRF Connect app. I can see a name on the nRF connect.
May I know which API function is available to fetch the scanned device local name.
Thanks and regards,
Could you check if the name is contained in the adv or scan response packet of the peripheral device? We can't get the name if they don't contain it.