Answer
Using the test scripts provided with BlueZ to setup a GATT server:
cd /lib/bluez/test/ ./example-gatt-server & Power on Bluetooth, start advertising and set to pairable:
# bluetoothctl Agent registered [bluetooth]# power on Changing power on succeeded [bluetooth]# advertise on [bluetooth]# pairable on Connect with Nordic's nRF smartphone app and read the fake battery level.
/filters:background_color(white)/2022-05/summit-hero.png)
/filters:background_color(white)/2025-01/sterling-lwb-wifi-bluetooth-smart-ready-module-base-left.png)
/filters:background_color(white)/2025-01/sterling-lwb5-802.11ac-dual-band-wifi-bluetooth-module-front-1.png)
/filters:background_color(white)/2024-03/LWB5-Plus-Modules-And-USB1.png)