WIP: GATT API draft