android-ble-gatt-server
Installation
SKILL.md
Android BLE GATT Server
Step 1: Define the local GATT server contract
- DEFINE local service database | characteristic/descriptor read | immediate write | prepared/execute write | CCCD subscription | notification/indication | multiple centrals | connection/MTU | service update | shutdown.
- IDENTIFY min/compile/target SDK, device/OEM/client matrix, peripheral and GATT-server roles, logical schema/version, UUID/instance identity, properties/permissions/security, per-central state, value encoding/limits, response status mapping, prepared-write budget, CCCD policy, notification queue, callback confinement, advertising owner, server lifetime, and process-death recovery.
- READ current
BluetoothManager,BluetoothGattServer, andBluetoothGattServerCallbacksymbol pages for every used API. - READ
references/api-contracts.mdfor server/client boundaries, unsupported profile queries, API 33 value methods, and API 37.2 availability. - ROUTE scanning/advertising/background/permission lifecycle to
android-ble, remoteBluetoothGattclient operations toandroid-ble-gatt-queue, logical schema/profile design toble-protocol-stack, and sockets toandroid-bluetooth-sockets.
Completion: database, every ATT callback/response, per-central state, transaction/notification ordering, lifecycle owner, and SDK/device matrix are explicit.
Step 2: Inspect the Android project
RUN from the Android project root:
python3 scripts/inspect-project.py --root . --json