Skip to content

Update Rust crate btleplug to 0.12.0#102

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/btleplug-0.x
Open

Update Rust crate btleplug to 0.12.0#102
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/btleplug-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 9, 2026

This PR contains the following updates:

Package Type Update Change
btleplug dependencies minor 0.11.50.12.0

Release Notes

deviceplug/btleplug (btleplug)

v0.12.0

Compare Source

Features

  • Add mtu() method to Peripheral trait (returns negotiated MTU)
  • Add connect_with_timeout() and discover_services_with_timeout() convenience methods
  • Add read_rssi() to Peripheral trait (supported on all platforms)
  • Add connection_parameters() and request_connection_parameters() to Peripheral trait (Windows/Android)
  • Add ConnectionParameters and ConnectionParameterPreset types
  • Add clear_peripherals() to Central trait
    • Thanks danielstuart14!
  • Add adapter_state() to Central trait for querying Bluetooth on/off state
  • Add add_peripheral() to Central trait for adding a device by address without scanning (Android)
  • Add advertisement_name field to PeripheralProperties
    • Thanks szymonlesisz!
  • Add service_uuid field to ValueNotification
    • Thanks MnlPhlp!
  • Add CentralEvent::RssiUpdate for RSSI change events
  • Add CentralEvent::DeviceServicesModified (CoreBluetooth only)
    • Thanks kragacles!
  • Add Error::NoAdapterAvailable variant
  • Add DEFAULT_MTU_SIZE constant
  • Add From<BDAddr> for [u8; 6] conversion
    • Thanks gabevenberg!
  • Add ./scripts/build-java.sh for building the Android Java components
  • Add integration test suite with Zephyr and Bumble test peripherals
  • Vendor jni-utils-rs Java classes directly into the btleplug source tree (no longer a separate Maven dependency)

Bugfixes

  • Fix CoreBluetooth peripheral name handling
    • Thanks szymonlesisz!
  • Fix BlueZ device disconnection (#​446)
    • Thanks szymonlesisz!
  • Improve CoreBluetooth didModifyServices handling and comments
    • Thanks kragacles!
  • Add NSError to CoreBluetooth trace logging
    • Thanks tternes!

Breaking Changes

  • CentralEvent enum: New variants DeviceServicesModified and RssiUpdate. Exhaustive matches will need updating.

  • Error enum: New variant NoAdapterAvailable. Exhaustive matches will need updating.

  • Update dependencies

v0.11.8

Compare Source

Features

  • Update dependencies
    • Including to windows-rs 0.61, which required some small code changes

v0.11.7

Compare Source

Features

  • Deserialize BDAddr from non-borrowed strings
    • Thanks icewind1991, ekuinox!
  • Add support for Extended Advertising on Android
    • Thanks Jakouf!

Bugfixes

  • Call GetDefaultAdapter() instead of GetAdapter() on Android
  • Use BluetoothCacheMode::Uncached for services fetching on windows
    • This may cause issues with connection times, we'll see how it works out
  • Characteristics with duplicate UUIDs (but differing handles) no longer overwrite each other
    • Thanks blackspherefollower!
  • CoreBluetooth now fulfills all open characteristic futures on disconnect
    • Thanks szymonlesisz!

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/btleplug-0.x branch from 6c75e19 to fc82f8f Compare March 13, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants