Giter Club home page Giter Club logo

Comments (5)

Sinorm avatar Sinorm commented on May 18, 2024

Have you paired with the device? Once your device is paired, the connection will be encrypted.

from bluetoothleexplorer.

adras avatar adras commented on May 18, 2024

I just double checked, yes it is paired.

from bluetoothleexplorer.

adras avatar adras commented on May 18, 2024

Any update on this? Even when the device is paired I get the error "Insufficient encryption" on some characteristics on my device.

from bluetoothleexplorer.

Gongxter avatar Gongxter commented on May 18, 2024

Im having the same Issue, I once managed to get a secured connection with my BLE device, where everything worked fine. Once I tried to redo it it never worked again.
I tried to pair it via the Application as well as in the Windows settings. As far is I could figure this out these are the only options you have to pair a device in Windows.

Device I tried to connect to is a Philips Hue RGB Lamp.

**
image
**

any advice on how to set up the secure connection ?

from bluetoothleexplorer.

adras avatar adras commented on May 18, 2024

Seems like

BluetoothLEDevice.ConnectionStatus.WasSecureConnectionUsedForPairing

is now no longer supported. But if you connect with:
DevicePairingResult result = await DeviceInfo.Pairing.PairAsync(DevicePairingProtectionLevel.Encryption)

then:

result.ProtectionLevelUsed
will be None

The default-mode which is normaly used upgrades the ProtectenLevel, if a higher one is supported. But it seems like those devices don't do that, why?

Same Philips Device as Gongxter has. You can also see: Read Not Permittted everywhere.

from bluetoothleexplorer.

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.