or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/bleak@1.1.x
tile.json

tessl/pypi-bleak

tessl install tessl/pypi-bleak@1.1.0

Cross-platform Bluetooth Low Energy GATT client library for asynchronous BLE communication

Agent Success

Agent success rate when using this tile

97%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.07x

Baseline

Agent success rate without this tile

91%

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how effectively the engineer uses the bleak library to read GATT descriptors from BLE device characteristics. It focuses on proper use of BleakClient for connection management, service/characteristic discovery, and descriptor reading operations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "BleakClient Usage",
      "description": "Uses BleakClient class to establish and manage connection to the BLE device using the provided device_address parameter",
      "max_score": 20
    },
    {
      "name": "Async Context Manager",
      "description": "Uses BleakClient as an async context manager (async with) for automatic connection and disconnection handling",
      "max_score": 15
    },
    {
      "name": "Service Discovery",
      "description": "Accesses the services property or get_services() method of BleakClient to retrieve GATT services after connection",
      "max_score": 15
    },
    {
      "name": "Characteristic Lookup",
      "description": "Locates the target characteristic using the characteristic_uuid parameter, either through service iteration or using service collection methods",
      "max_score": 15
    },
    {
      "name": "Descriptor Iteration",
      "description": "Iterates through the descriptors property of the BleakGATTCharacteristic object to access all descriptors",
      "max_score": 15
    },
    {
      "name": "Descriptor Read",
      "description": "Uses the read_gatt_descriptor() method of BleakClient to read descriptor values, passing either the descriptor object or handle",
      "max_score": 15
    },
    {
      "name": "Return Format",
      "description": "Returns a dictionary mapping descriptor UUIDs (as strings, accessed via descriptor.uuid) to their byte values from read_gatt_descriptor()",
      "max_score": 5
    }
  ]
}