locked
[BLE] [GATT] GetGattServicesAsync RRS feed

  • Question

  • I'm currently working on BLE communication from Windows 10 (Visual Studio 2017 C# Form application).

    I have 2 win10 PCs, one with BLE 4.2 running as Gatt Server and the other with BLE 4.0 as Gatt Client.

    When running the 2 PC back 2 back the GetGattServicesAsync() on Gatt Client returns 'Unreachable' as error code (the 2 PC are close each other).

    However using an IPad Gatt browser the PC Gatt server is ok (I can write and read from the IPad browser). 

    And using a remote BLE device, the PC Gatt client is also ok - it works (I can write to and read from the device).

    It is only when running the 2 PC's back 2 back it fails, direct win 10 BLE communication.

    What am I missing here?

    Thanks,

    Tuesday, October 10, 2017 12:08 PM

All replies

  • The Developing Universal Windows apps forum is for developers to discuss writing UWP apps. If you are writing a WinForms app then please post in that forum (I'll move this for you). DualApiPartition WinRT API such as BluetoothLEDevice can be called from either UWP or desktop app contexts, but the details of how to call them will be slightly different in each.


    Wednesday, October 11, 2017 1:29 AM