I'm using an ESP32, I'm interested to know if it's possible to advertise in BLE the name and another field (serial number) that always shows even without a connection.
I thot about that but it's for a project that needs to have the name of the device separate from the serial. So you could change the name but not the serial from the Bluetooth settings.
if you want to be able to edit attributes, then you need to be able to connect and need a writable characteristic and you won't see the details of the characteristic unless you connect
You could still do both, get name + Serial for the init and if you detect the name has been changed you change reset how the device is initialized and combine the new name and serial