kopia lustrzana https://github.com/micropython/micropython-lib
![]() Adds comprehensive tests for BLE pairing and bonding functionality: - ble_pair.py: Tests encryption without persistent bonding (bond=False) - ble_bond.py: Tests encryption with persistent bonding (bond=True) Both tests verify: - Encrypted characteristic access requiring pairing - Proper connection state tracking (encrypted, authenticated, bonded) - Cross-compatibility with BTstack implementation - Bond storage via aioble.security module Tests use custom EncryptedCharacteristic class to add _FLAG_READ_ENCRYPTED requirement, ensuring pairing is mandatory for characteristic access. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au> |
||
---|---|---|
.. | ||
ble_advertise_services.py | ||
ble_advertise_services.py.exp | ||
ble_bond.py | ||
ble_bond.py.exp | ||
ble_buffered_characteristic.py | ||
ble_buffered_characteristic.py.exp | ||
ble_characteristic.py | ||
ble_characteristic.py.exp | ||
ble_descriptor.py | ||
ble_descriptor.py.exp | ||
ble_notify.py | ||
ble_notify.py.exp | ||
ble_pair.py | ||
ble_pair.py.exp | ||
ble_shutdown.py | ||
ble_shutdown.py.exp | ||
ble_write_capture.py | ||
ble_write_capture.py.exp | ||
ble_write_order.py | ||
ble_write_order.py.exp | ||
perf_gatt_notify.py | ||
perf_gatt_notify.py.exp | ||
perf_l2cap.py | ||
perf_l2cap.py.exp |