micropython-lib/micropython
Andrew Leech a9b4b3bc9f micropython/aioble: Add pairing and bonding multitests.
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>
2025-06-10 15:47:43 +10:00
..
aioespnow aioespnow,webrepl: Use recommended network.WLAN.IF_[AP|STA] constants. 2024-11-07 12:48:55 +11:00
aiorepl all: Change use of "uasyncio" to "asyncio". 2024-06-14 10:29:46 +10:00
bluetooth micropython/aioble: Add pairing and bonding multitests. 2025-06-10 15:47:43 +10:00
bundles ssl: Restructure micropython SSL interface to a new tls module. 2024-02-07 12:12:13 +11:00
drivers nrf24l10: Bump minor version. 2025-04-10 22:33:53 +10:00
espflash all: Enable Ruff lint F541 'f-string without any placeholders'. 2024-05-15 18:11:46 +10:00
lora lora-sx126x: Fix invert_iq_rx / invert_iq_tx behaviour. 2025-04-10 22:39:40 +10:00
mip mip: Make mip.install() skip /rom*/lib directories. 2025-03-11 16:27:09 +11:00
mip-cmdline micropython/mip: Add command-line functionality for the Unix port. 2022-11-09 12:43:04 +11:00
net aioespnow,webrepl: Use recommended network.WLAN.IF_[AP|STA] constants. 2024-11-07 12:48:55 +11:00
senml senml: Use the updated cbor2 API. 2024-03-19 17:29:22 +11:00
uaiohttpclient all: Change use of "uasyncio" to "asyncio". 2024-06-14 10:29:46 +10:00
ucontextlib all: Enable ruff F841 'Local variable is assigned to but never used'. 2024-05-15 18:05:21 +10:00
udnspkt all: Use non-u versions of built-in modules. 2024-06-14 10:35:06 +10:00
umqtt.robust umqtt.robust: Remove reference to missing example. 2024-09-08 22:48:33 +10:00
umqtt.simple umqtt.simple: Restore legacy ssl/ssl_params arguments. 2025-04-10 21:10:01 +10:00
upysh all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
urequests requests: Rename urequests to requests. 2023-07-23 11:41:44 +10:00
urllib.urequest all: Use non-u versions of built-in modules. 2024-06-14 10:35:06 +10:00
usb usb-device-cdc: Optimise writing small data so it doesn't require alloc. 2025-04-13 13:27:47 +10:00
xmltok xmltok: Bump patch version. 2023-07-23 11:48:25 +10:00
README.md top: Update top-level docs. 2022-12-16 17:16:03 +11:00

README.md

MicroPython-specific packages

These are packages that have been written specifically for use on MicroPython.

Packages in this directory should not have the same name as modules from the Python Standard Library.

Future plans

  • More organised directory structure based on purpose (e.g. drivers, network, etc).