Questions tagged [rfcomm]

Radio frequency communication - the Bluetooth protocol. RFCOMM is a serial port emulation over Bluetooth. It provides a simple reliable data stream over Bluetooth, similar to RS232/TCP.

Links to more information

282 questions
5
votes
1 answer

Could more than one RFCOMM channels be created per time?

Question: Could more than one RFCOMM channels be created per time? Testing method: Create connections from Cellphone(Samsung GALAXY S) to two terminals in the PC. PC has two different bluetooth devices(build-in and USB dongle) and using different…
user462358
  • 61
  • 3
4
votes
1 answer

Android Bluetooth Socket Connect Hangs

I am having an issue where when I call sock.connect() it just hangs indefinitely. There is no exception and no timeout. try { Method m = dev.getClass().getMethod("createRfcommSocket", new Class[] {int.class}); sock…
Jesse
  • 2,674
  • 6
  • 30
  • 47
4
votes
2 answers

BluetoothServerSocket.accept() does not return even if device paired

I am developing an Android bluetooth application based on the BluetoothChat exemple. i am starting a bluetooth server and listening for a device(not a phone) to connect to mine app on an insecure rfcomm connection. private class AcceptThread extends…
user975349
  • 173
  • 2
  • 6
4
votes
1 answer

Cannot create a Bluetooth SPP connection on MacOS Monterey

Since upgrading to macOS Monterey, we have been unable to create a Bluetooth SPP connection to any hardware device. The SPP service does not appear to be supported. When listing the services for the device, the SPP service is not listed at all, as…
h4bit
  • 91
  • 7
4
votes
0 answers

ConnectAsync() never finishes in C# Visual Studio

TLDR: Creating a UWP app for Raspberry Pi 3 Model B running Windows 10 IoT and StreamSockets.ConnectAsync() (RFCOMM) sometimes finishes and sometimes it takes an extraordinarily long time to fail ("No more data is available. (Exception from HRESULT:…
Kodemikkel
  • 133
  • 12
4
votes
0 answers

Is it a way to make bluetooth pairing much faster

Goal: trying to achieve fast Bluetooth pairing. Storyline: I tried Bluecove library in Java, and if you know already the device address, pairing process on windows is blindly fast. On Linux it is lacking 15 seconds or so and is pretty annoying.…
user2805346
  • 302
  • 2
  • 11
4
votes
1 answer

Bluetooth - listening to a pairing even in a Linux device in Python

I'm pretty new to Bluetooth so this might be trivial, but I'll still ask: I would like to connect 2 devices via Bluetooth - a mobile device with a Linux device (like Raspberry Pi, but another one...). Side 1 - the mobile: It has an app that should…
DanielY
  • 1,141
  • 30
  • 58
4
votes
0 answers

No rfcomm connection on raspberry pi, while same setup on desktop works

I want to communicate with a python application on my raspberry pi via bluetooth from my android phone (currently using BlueTerm). I'm trying to get the following 'Hello World' script working on my raspberry pi: #!/usr/bin/env python # -*- coding:…
4
votes
0 answers

How to Connect To Bluetooth Devices Using MAC Address

Okay so this is my first experience working with Java or Android development in general, and I need to create an application that will allow me to connect to external bluetooth devices, such as a bluetooth headset, by entering the devices MAC…
Matt Lowrey
  • 41
  • 1
  • 3
4
votes
1 answer

Check for successful connection using rfcomm

I am trying to connect my phone to my RaspberryPi using a blue tooth dongle (not trying to do anything earth shattering, just determine when my phone is in the area). If I turn my phone's blue tooth on and issue the following command, I get the…
puk
  • 16,318
  • 29
  • 119
  • 199
4
votes
1 answer

iOS to Android Bluetooth RFCOMM

I know this has been asked many times, but things seem to evolve very fast and the answers seem outdated. Is there a way to let iOS and Android communicate via a Bluetooth RFCOMM channel? Maybe opening sockets?
ticofab
  • 7,551
  • 13
  • 49
  • 90
4
votes
1 answer

Android Bluetooth Serial RFCOMM low baud rate / slow transmission

I'm working on an Android Bluetooth project to send and receive data from a custom made hardware. I used Bluetooth Chat Sample in SDK as basis. I realized that there is no way to change baud rate on Client (Android phone) and baud rate will depend…
Saro Taşciyan
  • 5,210
  • 5
  • 31
  • 50
4
votes
1 answer

RFCOMM based bluetooth communication between two android devices

For some requirement analysis I want to test a RFCOMM based bluetooth communication between two android devices. I need to send some 1 MB of data to from Android device 1 and Android device 2 should receive it and display/save the data. I need to do…
indra
  • 832
  • 4
  • 17
  • 33
4
votes
0 answers

Map bluetooth device to a serial port in Linux

I have connected my mobile phone to my laptop via bluetooth. Now I need to map that bluetooth connection to a virtual serial port. Purpose of doing that is to configure SMSLib Java library to send sms via my phone. Ubuntu 12.04 is the OS running in…
Lahiru Ruhunage
  • 351
  • 2
  • 10
  • 23
4
votes
1 answer

Android - connecting to multiple bluetooth devices without pairing

I have a bunch of devices that are non-discoverable but I know the MAC addresses for them. At present I can connect to multiple devices using this in my ConnectThread: Method m = device.getClass().getMethod("createRfcommSocket",new Class[] {…
7wonders
  • 1,639
  • 1
  • 17
  • 34
1 2
3
18 19