Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1 KB

windows.rst

File metadata and controls

38 lines (27 loc) · 1 KB

Windows backend

The Windows backend of bleak is written using PyWinRT to provide bindings for the Windows Runtime (WinRT).

The Windows backend implements a BleakClient in the module bleak.backends.winrt.client, a BleakScanner method in the bleak.backends.winrt.scanner module. There are also backend-specific implementations of the BleakGATTService, BleakGATTCharacteristic and BleakGATTDescriptor classes.

Specific features for the Windows backend

Client

  • The constructor keyword address_type which can have the values "public" or "random". This value makes sure that the connection is made in a fashion that suits the peripheral.

API

Utilities

bleak.backends.winrt.util

Scanner

bleak.backends.winrt.scanner

Client

bleak.backends.winrt.client