Mineplayers foro

Windows 10 - Pairing a BLE device from code

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado aaronpawlak

  • *
  • 14
  • 0
  • Mineplayer
    • Ver Perfil
  • Nickname Juego: aaronpawlak
Windows 10 - Pairing a BLE device from code
« en: Abril 05, 2018, 08:20:51 am »
Hi,

Is there any path to access a BLE GATT from code in Windows 10 without first manually pairing?
I want to be able to discover a device - in theory we could do that using the advertisement API to detect the Bluetooth Address.   BluetoothLEAdvertisementReceivedEventArgs
Can we then open a GATT service using that address despite it not being paired on the phone/PC?
BluetoothLEDevice.FromBluetoothAddressAsync - will this fail?
Is there any way to pair from code so we can access the services?

Please help.

I didn't find the right solution from the Internet.

References:-
https://bit.ly/2GVkOGg
App video production company

Thanks