You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add new connection management methods that wrap BTstack callbacks
- Implement internal handlers that automatically trigger pairing when enabled
- Remove need for manual pairing requests in connection callbacks
- Update examples to use new callback registration methods
- Add comprehensive documentation with migration guide
This update makes requestPairingOnConnect() work automatically without requiring
manual checks of the flag or explicit pairing requests in user code.
2.**Automatic Pairing**: When `requestPairingOnConnect(true)` is set, pairing is now automatically initiated when a device connects. You no longer need to manually check the flag and call `requestPairing()` in your connection callback:
- `void setPasskeyDisplayCallback(void (*callback)(uint32_t passkey))`: Callback for handling passkey display
@@ -248,5 +323,4 @@ When using this library, you must comply with the terms of both licenses.
248
323
Contributions to improve the library are welcome! Please submit pull requests or open issues on the repository.
249
324
250
325
## Acknowledgements and Credits
251
-
This library is based on the [BTstackLib](https://github.com/earlephilhower/arduino-pico/tree/master/libraries/BTstackLib) library for Arduino-Core and Raspberry Pi Pico. Special thanks to the BTstack developers for their work on BLE stack implementation and arduino-pico core maintainers.
252
-
```
326
+
This library is based on the [BTstackLib](https://github.com/earlephilhower/arduino-pico/tree/master/libraries/BTstackLib) library for Arduino-Core and Raspberry Pi Pico. Special thanks to the BTstack developers for their work on BLE stack implementation and arduino-pico core maintainers.
0 commit comments