Skip to content

programmatically accept pairing request in python without dialog interaction #827

@mitea1

Description

@mitea1
  • bleak version: 0.14.3
  • Python version: 3.7.3
  • Operating System: Win10 (and Linux)
  • BlueZ version (bluetoothctl -v) in case of Linux: 5.50

Description

Looking for a way to accept pairing request during integration tests without dialog action in windows. also want to understand what would be needed to do the same in a linux environment

What I Did

used BleakClient.pair(). works if I wait and confirm pairing in dialog. but I'm looking for a way to do that by code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpairingIssues related to pairing/bonding

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions