Coder Social home page Coder Social logo

Comments (3)

dlech avatar dlech commented on September 9, 2024

This looks like you are using Bleak rather than using bleak-winrt directly, so you should post issues at https://github.com/hbldh/bleak instead. Even better, use https://github.com/hbldh/bleak/discussions instead of issues unless you are 90% certain there is a bug in Bleak.

It also looks like you are trying to write to every single characteristic on the device, but not all characteristics can be written, so you get an error. Just pick one characteristic and write to it.

from bleak-winrt.

dimonoid avatar dimonoid commented on September 9, 2024

Correct, I try to write to all of them, but none of them are successful. Error is always the same, "Access Denied" to ones which don't have writing properties, but returns successfully "None" for properties which should be writable.

But absolutely nothing goes through to the device.

from bleak-winrt.

dimonoid avatar dimonoid commented on September 9, 2024

Solved

I had to use "response=True", otherwise remote device wasn't receiving anything for some reason (even though I don't need confirmation that write request is successful). Also activated response on device side.

Related:
hbldh/bleak#59

from bleak-winrt.

Related Issues (4)

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.