Giter Club home page Giter Club logo

heartratele's Introduction

Bluetooth LE Heart Rate Device Monitor sample

This repository contains an example of using the WinRT API to pair and connect to Bluetooth LE heart rate devices. The point of this sample is to show how it is possible to reference and use WinRT APIs without having to write a UWP application. The client can be any Windows client that can reference a C# library (i.e. Windows Forms, WPF, etc).

Note: This sample consists of a Visual Studio 2015 solution with C# projects. The UI project is a WPF application. The Bluetooth project has a class wrapper for WinRT code (HeartRateMonitor) so that the client calling the library does not have to know about UWP objects or code. The client only has to instantiate basic classes and schemas and to attach event handlers to the class.

In order for this code to work past the Windows 10 Creator Edition, I did a complete rewrite of the Bluetooth code. There is a much better Bluetooth API available with Windows Creator Edition.

Windows Fall 2018 Creator Update (v 1709) (if you need to manually update) https://www.microsoft.com/en-us/software-download/windows10

Windows 10 SDK version 10.0.16299.0 https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

Specifically, this sample shows how to:

  • Enumerate nearby Bluetooth LE devices
  • Query for supported services
  • Query for supported characteristics
  • Interogate device for information
  • Subscribe to device events such as connection status changed and value changed

heartratele's People

Contributors

kirk-quinbar avatar kquinbar avatar

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.