Git Product home page Git Product logo

hxm-heart-rate-sensor's Issues

Proper life cycle

I don't have much experience developing apps for BT devices and no experience on how to handle them on Windows platforms. App seems to be working just fine when put in background but that does not feel right. Perhaps background task is a better answer for that? Does current model of background tasks support this scenario? Or is it fine just to ignore life cycle and hope for the best?

Odd message content

Sometimes message content is not 55 bytes as it should be and heart beat timestamps seems to be corrupted. It is fairly easy to when that happens but I was not able to figure out why or how to parse timestamps correctly. I also don't know if timestamps are the only things that are corrupted.

As side note, this issue seems to be link with too slow reading from sensor and couple of initial reads.

CRC and other validations

Current version have couple of checks whether received message is OK but it is not fire proof.
Documentation has some examples written in C but I have not yet tried to port that code.

Code uses pointers and I want to avoid enabling unsafe or add a C++ WinRT component to the project.

Proper BT connection termination

I have almost no programming experience with BT devices and I'm not sure if my way of closing device connection is correct or not. Closing socket seems legit but there might be more than that.

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.