Cross-platform Bluetooth Low Energy GATT client library for asynchronous BLE communication
Overall
score
97%
{
"context": "This criteria evaluates how well the engineer uses the Bleak library to implement connection status monitoring for Bluetooth Low Energy devices. The focus is on proper usage of BleakClient's connection management and status checking capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "BleakClient instantiation",
"description": "Correctly instantiates BleakClient with the device address to manage the connection lifecycle",
"max_score": 15
},
{
"name": "is_connected property",
"description": "Uses BleakClient's is_connected property to check connection status rather than implementing custom status tracking",
"max_score": 30
},
{
"name": "connect method usage",
"description": "Uses BleakClient's connect() method (or async context manager) to establish connection to the device",
"max_score": 20
},
{
"name": "disconnect method usage",
"description": "Uses BleakClient's disconnect() method to properly disconnect from the device",
"max_score": 15
},
{
"name": "Async/await pattern",
"description": "Correctly implements async/await pattern for all BleakClient operations (connect, disconnect, is_connected checks)",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-bleakdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9