Commit Graph
2 Commits
Author SHA1 Message Date
andy 9e62ec5cfe Fix use-after-free on exit in BLE GATT Server
Teardown freed the view port before unhooking the serial and status
callbacks, which run on the BLE/BT thread and call view_port_update. A late
notification or status change during exit could touch freed memory. Unhook
both callbacks and restore the default profile first, then free the view port.
2026-09-11 14:33:18 +01:00
andy 7fe1972d28 Add BLE GATT Server/emulator app
Brings up the Flipper as a connectable serial GATT peripheral via the bt service profile API and echoes what a central writes. Restores the default profile on exit.
2026-09-11 14:08:30 +01:00