Git Product home page Git Product logo

Comments (11)

hansmbakker avatar hansmbakker commented on July 29, 2024 1

@mtbeaver I tried it, but could not get it to work.

The use case was:

I wanted to implement the HID reports from https://msdn.microsoft.com/en-us/windows/hardware/commercialize/design/component-guidelines/radial-controller-protocol-implementation to emulate a Surface Dial.

It seems that, for a device to be detected properly as a HID device, it should implement at least

  • HID Service
  • Battery Service
  • Device Information Service

For the Device Information Service I still get BluetoothError.DisabledByPolicy. The same applies to the Generic Access Service (used to set a friendly name and icon, don't know whether it is required).

I'm afraid that unlocking only the HID Service doesn't allow implementing my usecase :(

Have you been able to emulate a HID device using an UWP Background App for Windows IoT Core, that was detected properly by another Windows 10 machine? If so, I'd be really glad to see an example.

from windows-dev-docs.

mtbeaver avatar mtbeaver commented on July 29, 2024

Unfortunately, HID is currently protected as a reserved service, which prevents it from being implemented by a 3rd party application. Please share details on the scenario, and we will discuss it internally.

from windows-dev-docs.

hansmbakker avatar hansmbakker commented on July 29, 2024

@mtbeaver thank you for your explanation. Could you add this to the documentation?

As for the usecase: I wanted to implement the HID reports from https://msdn.microsoft.com/en-us/windows/hardware/commercialize/design/component-guidelines/radial-controller-protocol-implementation to emulate a Surface Dial.

from windows-dev-docs.

hansmbakker avatar hansmbakker commented on July 29, 2024

I have a Nuimo device that has similar hardware to a Surface Dial, but it sends plain GATT messages (no HID). I wanted to use it in windows and writing a virtual hid driver or adjusting the HID injection example in c++ seemed complicated to me (I'm familiar with C#). So I hoped I could use the GATT server functionality to create a "bridge app".

from windows-dev-docs.

hansmbakker avatar hansmbakker commented on July 29, 2024

@mtbeaver do you have any update on this?

from windows-dev-docs.

mtbeaver avatar mtbeaver commented on July 29, 2024

@Wind-rider, we have discussed this internally and will be removing the HID restriction for Gatt Server in the next release. I’ll keep you posted here when the change is available in the Windows Insider builds.

from windows-dev-docs.

hansmbakker avatar hansmbakker commented on July 29, 2024

@mtbeaver Great to hear, I'm looking forward to it!

from windows-dev-docs.

mtbeaver avatar mtbeaver commented on July 29, 2024

@Wind-rider The restriction should be lifted in the Windows Insider Fast builds. Please let me know if you have any questions.

from windows-dev-docs.

hansmbakker avatar hansmbakker commented on July 29, 2024

@mtbeaver thank you for keeping me updated! Do you mean build 16226 for Windows IoT Core? (I couldn't find it in the release notes)

Also - do I need a special SDK version or was the limitation only in the OS and will the 15063 SDK work fine?

from windows-dev-docs.

mtbeaver avatar mtbeaver commented on July 29, 2024

The existing Creators Update SDK should work fine. As it was a minor update, it is not in the release notes, but I believe that build should have the relevant changes. Please use the latest build available to you though.

from windows-dev-docs.

ginami avatar ginami commented on July 29, 2024

Hi @wind-rider--I'm going to close this issue for now. If you still need a response, please either reopen this issue or open a new one. Thank you!!

from windows-dev-docs.

Related Issues (20)

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.