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
40
votes
2 answers

Programmatically pairing with a BLE device on Android 4.4+

Does anyone have a complete working example of how to programmatically pair with a BLE (not Bluetooth Classic) device that uses passkey entry (i.e. a 6-digit PIN) or Numeric Comparison on Android 4.4 or later? By 'programmatically' I mean I tell…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
23
votes
13 answers

Pair new device over Wi-Fi not working in Android Studio Bumblebee

when I try to pair a device, neither QR code or Pairing code work and just get stuck searching for a device... I have a phone with Android 11 & 12 and Wi-Fi debugging is on.
hossein
  • 638
  • 1
  • 3
  • 14
18
votes
2 answers

Android Bluetooth - Paired vs Connected, what's the difference?

android noob here! Is there a difference between when two android devices (smartphones) are 'paired' and when they're 'connected'? If so, what is the difference when transferring data from one to the other?
proPhet
  • 1,188
  • 4
  • 16
  • 39
13
votes
1 answer

Bluetooth Difference between pairing and paging, bonding

When I study Bluetooth, I am confused to understand Bluetooth connection and pairing, bonding, etc. As far as I know, Bluetooth Connection has these steps: Inquiry - discover Paging - using the address in Inquiry process, process of forming a…
H.K
  • 133
  • 1
  • 1
  • 7
11
votes
11 answers

Pairing new device on Android Studio BumbleBee over Wifi

I have recently updated to Android Bumblebee. And I am trying to connect my device wireless through wifi . But I get always get the message as seen in screenshot below . I have updated to latest platform tools SDK 32 , but still the issue persists .…
11
votes
0 answers

Phone (as peripheral role) doesn't show Pairing dialog when in JustWorks pairing mode

I'm writing an Android application that connects to a physical device via BLE. Android app will act as peripheral role while the device is central. Device I/O Capabilities is also set to NoInputNoOutput (ble_cmd_sm_set_parameters(0, 8,…
11
votes
3 answers

Android Bluetooth Pairing without User Enter Pin and Confirmation Using Android API

I'm a beginner in Android programming since I only started 3 months ago. I'm doing a project which connects the android app to arduino using bluetooth. I already have a code for the android app (bluetooth.adapter,sockets,.etc.). The code for…
ian
  • 269
  • 1
  • 2
  • 6
11
votes
2 answers

Pre-pairing bluetooth devices

I would like to be able to pre-pair bluetooth devices, to save the step of user confusion when using the app. I have discovered that there is a patent for System, method and apparatus for pre-pairing bluetooth enabled devices. I am looking at…
user3956566
9
votes
2 answers

Bluetooth "out of band" (OOB) pairing on Android?

I've been searching the internet and haven't seen anything in the way of how to exactly implement OOB pairing. I was hoping somebody here could point me to some example code to help me out. The chat example in the Android developers site didn't…
Brian
  • 145
  • 1
  • 2
  • 6
9
votes
0 answers

Android Remote control app (on phone) for controlling Android TV

I've skimmed through the Google TV Pairing protocol and downloaded the TV Paring protocol sample code from https://code.google.com/p/google-tv-pairing-protocol/ I've also read about the Anymote protocol but realized that it only works on the…
8
votes
1 answer

Windows iot/apps Programmatic Bluetooth Pairing

I'm trying to broadcast a bluetooth signal from a Raspberry Pi 2 running Windows Iot Core so that I can connect to it from smartphones and other devices, but I've been stuck for the last couple days on actually receiving a pairing signal. Using the…
Felipe
  • 10,606
  • 5
  • 40
  • 57
7
votes
1 answer

Android Bluetooth Peripheral: Connection terminated by peer (Status 19)

Developed an application which acts as peripheral and connects with other device (central only). It's working fine in devices having OS version 6.0, but getting some issues in Nougat 7.0. I've collected some logs, enabling "Bluetooth HCI snoop log"…
Prat
  • 143
  • 3
  • 17
7
votes
2 answers

BLE with Android 5.0 : How to get a device to act as Central AND Server?

I'm using two Android 5.0 devices to communicate through Bluetooth Low Energy and I wan't : Device 1 to act as Central and Server. Device 2 to act as Peripheral and Client. This is the behavior I'd like to achieve : 1) Device 2 starts…
Thomas W
  • 273
  • 2
  • 15
6
votes
3 answers

Android Bluetooth accept() / connect() with already paired devices

I am having trouble connecting two Android devices via Bluetooth, which happens only when they have been paired before. I am running one as the server and the other as the client. Here is the sequence of things on the server side: Check various…
o.c.
  • 271
  • 1
  • 3
  • 12
6
votes
2 answers

Android Bluetooth not Showing Pairing Dialog

I am trying to pair my HTC myTouch 3G with a Bluetooth device that will stream data via SPP to the phone. I have looked at the Chat examples and found them lacking for what I need due to the fact of the high data rates I will need and the Chat…
JPM
  • 9,077
  • 13
  • 78
  • 137
1
2 3
16 17