Git Product home page Git Product logo

bluetoothle_cs's Introduction

Bluetooth Low Energy App

Modified version of Microsoft BLE sample, included data visualization tools for debugging BLE sensors.

Note: This code is based on Bluetooth Low Energy sample, you can download the entire collection as a single ZIP file. For other samples, see the Samples portal on the Windows Dev Center.

Client

Shows how to act as a client to communicate with a Bluetooth Low Energy (LE) device using the Bluetooth GATT protocol. Acts as a GATT client to access nearby GATT servers like heart rate sensors or temperature sensors.

Specifically, this app shows how to:

  • Enumerate nearby Bluetooth LE devices
  • Query for supported services
  • Query for supported characteristics
  • Read and write data
  • Subscribe to indicate and notify events

Server

  • (not used).

More Details

Search for "BT_Code" to find the portions of the sample that are particularly relevant to Bluetooth. Note in particular the "bluetooth" capability declaration in the manifest.

Note The Windows universal samples require Visual Studio to build and Windows 10 to execute.

To obtain information about Windows 10 development, go to the Windows Dev Center

To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to Visual Studio

Related topics

Samples

Bluetooth Rfcomm

Bluetooth Advertisement

Device Enumeration and Pairing

Reference

Windows.Devices.Bluetooth namespace

Windows.Devices.Bluetooth.GenericAttributeProfile namespace

Windows.Devices.Enumeration namespace

Conceptual

System requirements

Client: Windows 10 Anniversary Edition

Server: (not used) Windows Server 2016 Technical Preview

Phone: Windows 10 Anniversary Edition

Build and run the application

  1. If you download the samples ZIP, be sure to unzip the entire archive.
  2. Start Microsoft Visual Studio and select File > Open > Project/Solution.
  3. Starting in the folder where you unzipped the application, go to the C# folder. Double-click the Visual Studio Solution (.sln) file.
  4. Press Ctrl+F5, or select Debug > Start Without Debugging.

Deploying the sample

  • Select Build > Deploy Solution.

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.