Coder Social home page Coder Social logo

bleak-winrt's People

Contributors

dlech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bleak-winrt's Issues

Response is always "None" when trying to write into a writable characteristic

Windows 11 Pro,
OS build 22000.675,
bleak~=0.14.3,
Bleak-winrt version~=1.1.1

Unable to write into a characteristic, but reading and notifications work fine

I checked through BLE Scanner on Android and BleuIO, writing works fine both ways, so there is an issue with Bleak or WinRT. Device is not receiving anything (I monitor through COM port)

I tried older versions of Bleak-winrt, getting the same error.

Here is a piece of code:

a = await self.client.get_services()
                                  for c in a.characteristics.values():
                                    try:
                                        b = await self.client.write_gatt_char(c, B"123ABC")  # Issue is in here
                                        print(b)
                                    except Exception as e:
                                        print("Test error 2:", e)
                                        if "Access Denied" not in str(e):
                                            print("Have a look!", e)
                                    await asyncio.sleep(0.1)

too many generated files in cppwinrt

For some reason, the -include and -exclude options don't work for cppwinrt.exe like they do for pywinrt.exe, so it ends up generating a bunch of files that we don't need.

How to replace bleak Windows backend?

I can generate bleak_winrt-1.2.0-cp311-cp311-win_amd64.whl file by running "python3 setup.py bdist_wheel" command. How to replace bleak Windows backend with bleak_winrt-1.2.0-cp311-cp311-win_amd64.whl file?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.