sensboston / BLEConsole

Bluetooth Low Energy device console app
https://sensboston.github.io/BLEConsole
MIT License
196 stars 73 forks source link

Extended the implementation of pairing and unpairing #36

Open kristfin opened 7 months ago

kristfin commented 7 months ago

Came across this fine utility when I was about to create my own :) Since I needed to be able to pair with a device with pincode, I extended the implementation of pairing and unpairing I included, support for the following flags: ProvidePin, ConfirmOnly, DisplayPin and ProvidePasswordCredentials.
There is also the default pairing with no paramters. I have only tested the pairing with pin code though.

sensboston commented 7 months ago

It's a good feature, thanks! Let me check it first with the real device pairing; will merge on successful testing.

sensboston commented 6 months ago

Sorry but I can't find any BLE device with the "pairing" feature (only BT serial devices). Could you please suggest something cheap on Amazon (preferable with the Prime shipping)?

kristfin commented 3 months ago

Sorry for the late reply

I cannot think of any devices that have pin codes.

I am working with bionic prostheses which cost an arm and a leg (pun intended), so sadly I cannot give you one :)

Our devices have a 6 digit pincode, and it works, with bleconsole. Those are the only devices and connection method i have tested.

Cheers, KF

On Thu, May 16, 2024 at 1:04 AM SeNS @.***> wrote:

Sorry but I can't find any BLE device with the "pairing" feature (only BT serial devices). Could you please suggest something cheap on Amazon (preferable with the Prime shipping)?

— Reply to this email directly, view it on GitHub https://github.com/sensboston/BLEConsole/pull/36#issuecomment-2113719768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAV2SDVO5RFQ7RHDGY2PE4TZCQAZBAVCNFSM6AAAAABFBSXEQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTG4YTSNZWHA . You are receiving this because you authored the thread.Message ID: @.***>