Questions tagged [pairing]

Bonding of two devices, eg two smartphones, or a computer and keyboard. Term is commonly heard in combination with Bluetooth. When pairing successfully completes, a bond forms between the two devices. This enables those two devices to connect to each other in the future without repeating the pairing process to confirm device identities. When desired, the user can remove the bonding relationship.

241 questions
6
votes
4 answers

Error connecting to mac from visual studio

I have the right IP address although when I go to connect to my mac I get this error message: An error occurred while generating the SSH keys. Please check that the environment is properly configured. Details: cat:…
6
votes
0 answers

BLE Out of band (OOB) pairing on iOS (13+)

I'm working on an iOS application (for iOS 13+), that should use the most secure BLE pairing method, Out of Band pairing (OOB) (which usually uses an NFC tag for BLE address/temporary key (TK) storage). Unfortunately, either my Google skills suck,…
r__
  • 71
  • 4
6
votes
3 answers

Programmatically bonding to BLE device on Android

I'm writing an Android application in which I'd like to programmatically bond to a custom BLE device. I have the manual bonding working in which the user enters the PIN using the standard Android Bluetooth pairing dialog, but I have not been able…
David
  • 91
  • 1
  • 6
6
votes
0 answers

Show default Bluetooth pairing request dialog

I am really struggling with this problem and I cannot find a way to do it. I need to show the default dialogs from Android when pairing with a Bluetooth device. Right now I achieved to pair them programmatically with a quite easy method but it only…
kodartcha
  • 1,063
  • 12
  • 23
6
votes
1 answer

Android Bluetooth pairing Security

Since I upgraded to android 4.2 I'm having trouble when I try to pair a device The device should be paired but now it says that across_user_permission is required. Here is the error log : error:code 3: java.lang.SecurityException:: Permission…
user2838231
  • 71
  • 1
  • 6
5
votes
2 answers

Problem with pairing device using wifi in android studio

I want to pair my android device by scanning QrCode in device manager android studio. Sometime it works but often it doesn't work. when I scan QrCode it waits in state below I try ways below: 1- Connecting to same wifi 2- Deleting all previous…
5
votes
1 answer

Find optimal unique neighbour pairs based on closest distance

General problem First let's explain the problem more generally. I have a collection of points with x,y coordinates and want to find the optimal unique neighbour pairs such that the distance between the neighbours in all pairs is minimised, but…
crazjo
  • 485
  • 1
  • 8
  • 20
5
votes
0 answers

Bluetooth pairing in iOS: how to tell if pairing dialog will come up?

I am using Apple's Core Bluetooth example code (here, with slight modifications) to scan for Bluetooth Low Energy devices and connect with the device I want. On the first connect this brings up the iOS pairing dialog. Also, if the device is…
Alex I
  • 19,689
  • 9
  • 86
  • 158
5
votes
0 answers

Secure BLE pairing - is it possible?

I'm trying to make a BLE device that actually pairs securely. As far as I know the transport encryption (using AES) is secure in all versions of BLE, once the 'Long Term Key' has been exchanged. BLE 4.1 BLE 4.1 and earlier use symmetric cryptography…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
4
votes
1 answer

Connecting to a already paired Bluetooth device

Recently I tried to get a pairing process to work programatically and I succeded. But I recently found out that the users of my application can be connected to several of "interesting" devices. So I have to prompt the user to choose a device to…
Mazze
  • 1,354
  • 4
  • 17
  • 35
4
votes
1 answer

bluetoothctl does not show bluetooth low energy (BLE) device

I would like to pair my Bluetooth Low Energy Sport Watch (Suunto Ambit 3) to my Raspberry PI 3 B V1.2 I am using the RaspianOS Version 10 buster with kernel Version 5.4.79-v7+ This OS contains the bluez stack in version 5.50 which was installed…
4
votes
1 answer

An error occurred while generating the SSH keys. Please check that the environment is properly configured

Whenever I try to connect to my mac using visual studio 2019 I get this error message: An error occurred while generating the SSH keys. Please check that the environment is properly configured. Details: cat:…
coder123
  • 247
  • 3
  • 17
4
votes
0 answers

iOS10 Core Bluetooth returns ERROR "Authentication is insufficient" for write request

My iOS application receives "Authentication is insufficient" ERROR for write request when the procedure involve pairing. iOS(Core Bluetooth) returns the ERROR if its OS version is 10 or more. Until iOS 9.3.5, iOS returns success response(no ERROR)…
M.Masa
  • 532
  • 4
  • 20
4
votes
0 answers

Android/Bluetooth programmatically pairing options

I have a list of BluetoothDevice and I want to pair programmatically with one of them that has a PIN. I have read several posts here in which the subject is discussed, but I've found two very different approachs. FIRST OPTION: You call the…
Gabo Alvarez
  • 139
  • 8
4
votes
0 answers

Programmatic Bluetooth PIN on iOS

If I obtain the PIN for a BLE device via some out-of-band means (e.g. QR code), is it possible to programmatically tell iOS the PIN so that it doesn't prompt the user when you connect? I believe it is possible on Android 4.4+ using setPin(). Is…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
1
2
3
16 17