DeviceClass Location with GATT RRS feed

  • Question

  • Hello,

    I'm trying to write a client on Windows 8.1 able to retrieve location information using Bluetooth.

    I could found the DeviceInformation.FindAllAsync(DeviceClass) as a way to list devices able to provide location information by using Bluetooth connectivity with GATT.

    Is there any way I could write a server using Window 8.1 to mockup a DeviceClass Location to test my client?

    I'm a bit lost of which interface/metadata the client and server should implement in order to have the data properly exchanged.

    Could anyone help me with it?

    Thanks for your attention.


    Tuesday, April 22, 2014 11:36 AM

All replies

  • If you're just looking for a testing server, use the desktop APIs:

    Those are C++, but of course you can PInvoke into them from WinRT (as an LOB) and there are third-party BT libraries for C# as well. 

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Wednesday, April 23, 2014 12:16 PM
  • Thanks for your reply Matt.

    I`m still confused regarding how could I build a server able to implement a GATT service "Location and Navigation" using desktop APIs.


    Would you recommend a specific library/technology I could explore to do so?



    Thursday, April 24, 2014 8:10 AM