Code Monkey home page Code Monkey logo

Comments (4)

zyv avatar zyv commented on August 11, 2024

Judging from your backtrace, the problem lies somewhere between your OS and the Bluetooth client that my code is using - I’m afraid that there is not much that I can do about it:

hbldh/bleak#158

from huawei-lpv2.

zhuibo66 avatar zhuibo66 commented on August 11, 2024

Judging from your backtrace, the problem lies somewhere between your OS and the Bluetooth client that my code is using - I’m afraid that there is not much that I can do about it:

hbldh/bleak#158

Judging from your backtrace, the problem lies somewhere between your OS and the Bluetooth client that my code is using - I’m afraid that there is not much that I can do about it:

hbldh/bleak#158

It’s okay. I really feel that your reply is taking up your time. I currently want to create a Wechat Mini Program through which I can read the data of the bracelet (such as steps, battery).

But I don’t know how to communicate with the bracelet after connection. I currently know that after the initial BLE scan and GATT read, these bytes are written, 5a000b0001010100020003000400f13b

Then, return to some messages, but it is not clear how to decrypt it.

If you need any information there, I can provide them all, thank you.

from huawei-lpv2.

zhuibo66 avatar zhuibo66 commented on August 11, 2024

There is a new mistake

characteristics_result.Status, ""
bleak.exc.BleakDotNetTaskError: Could not get GATT characteristics for Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService: AccessDenied

from huawei-lpv2.

zyv avatar zyv commented on August 11, 2024

Hi @zhuibo66, sorry that it's taken me so long to get back to you.

Unfortunately, since I've written this code, Huawei has changed the authentication scheme several times and the current code only supports old bands with no firmware updates applied.

However, a few days a kind soul has backported the newly reversed auth sequences from GB and submitted a PR: #8. Please check whether this works for you, I have made my changes to it and intend to merge it to master as soon as someone has tested it.

Thank you!

from huawei-lpv2.

Related Issues (6)

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.