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
0
votes
1 answer

Can't redirect rfcomm output to a file

I would like to redirect the output of rfcomm to a file in bash like $ rfcomm watch hci0 > rfcomm.log & or $ rfcomm watch hci0 > rfcomm.log 2>&1 & However rfcomm.log remains desparately empty. Why?
Buddyshot
  • 1,614
  • 1
  • 17
  • 44
0
votes
1 answer

How to add rfcomm and genericAttributeProfile device capabilities to Package.appxmanifest in Windows 8.1.

I need to support multiple devices including both serial and BLE. When i add the following code to Package.appxmanifest file, i get an error Unable to activate Windows Store app 'blah.blah_blah!App'. The activation request failed with error…
0
votes
1 answer

Developing Bluetooth App For Raspberry Pi3 on Win IOT

I am new at developing softwares for Windows IOT. I have information about .Net 3.5 and 4. When I start to develop for Win IOT, I saw that lots of things have changed. There are a lot of new words async, await, Task etc. Now I want to read and write…
MIrchhh
  • 19
  • 1
  • 5
0
votes
2 answers

Does RFCOMM use threeway handshake?

I have a task right now to evaluate the RTT of a bluetooth communication on android, however since L2CAP is no longer supported on android I have to calculate the RTT using RFCOMM, which to my understanding is basically a reliable implementation…
Ali Elgazar
  • 777
  • 2
  • 12
  • 26
0
votes
1 answer

BlueZ which layer get reason of Bluetooth disconnection

I am using BlueZ stack for Bluetooth connection between Smart-phone(AG-Audio Gateway) and Embedded board(HF-Handsfree). On which layer of Bluez ( HCI, L2CAP, RFCOMM) we will get reason of Bluetooth disconnection. So we can differentiate following…
Hari
  • 111
  • 1
  • 1
  • 8
0
votes
1 answer

Insecure rfcomm connection in Python

I would like to establish a bluetooth connection from an android device to a Raspberry Pi without pairing. The language used in RPi is Python. I am connecting using createInsecureRfcommSocketToServiceRecord from android. However the connection is…
Pool
  • 101
  • 11
0
votes
1 answer

Pybluez RFCOMM server on Linux no advertisable service

I am trying to run a very simple bluetooth server on Raspbian Linux. If it makes any difference I am using a Raspberry Pi 3's bluetooth adapter as opposed to a dongle. from bluetooth import * server_sock=BluetoothSocket( RFCOMM…
0
votes
1 answer

Android Bluetooth connection using createInsecureRfcommSocketToServiceRecord without MAC address

I am creating an application for communicating Android mobile devices with Bluetooth beacons. I have successfully achieved this between one beacon (which acts as a client) and one android mobile device (acts as the server, listening for the…
Pool
  • 101
  • 11
0
votes
1 answer

Bluetooth data transmission velocity issue

GoodEvening everyone, I'm trying to communicate between Arduino lilypad and raspberry Pi3B. I'm able to send and receive data but the communication is really slow!!! I send a character from Rasp to arduino, which responds sending back a package of…
0
votes
1 answer

Using Bluez/Linux, can I run a daemon broadcasting BLE ibeacons and be connectable using RFCOMM simultaneously?

As stated in the title, can both be ran simultaneously or is a second adapter required? For example, can one adapter run both BLE and BT classic at the same time - the BLE beacon broadcasts the MAC for opportunistic clients to connect to using…
mcdoomington
  • 518
  • 1
  • 6
  • 20
0
votes
0 answers

How to make multiple bluetooth connections in android

I have been trying to connect multiple android phones to my app using bluetooth multiple connections concurrenlty. Have followed the solution of a chatting app shared on android samples for bluetooth. But I am able to only connect my phone to only…
Shahnawaz Jafri
  • 115
  • 2
  • 7
0
votes
1 answer

HC-05 bluetooth module and android communication

I need to establish communication between android application and HC05 bluetooth module.I searched internet found about rfcomm based bluetooth communication. Is rfcomm based communication is the best method ? Can any one provide links for sample…
SP_
  • 241
  • 1
  • 5
  • 16
0
votes
1 answer

Access bluetooth RFCOMM through android terminal

I would like to access to RFCOMM to set up a bluetooth virtual serial port on my Android device using the terminal. I do have root permissions on my android device. When I type "rfcomm" in the terminal, I receive a message saying "rfcomm: not…
Francesco
  • 964
  • 2
  • 17
  • 41
0
votes
0 answers

Error while connecting HC-05 bluetooth module with python via bluetooth

I have been trying to connect my hc 05 bt module with my laptop and to achieve a communication with Idle. At first i connected my bt device manually from laptop's bluetooth settings and then I was able to get the module's bt address by using the…
NISHIT KHARA
  • 63
  • 1
  • 10
0
votes
1 answer

Unable to read from /dev/rfcomm

I am trying to connect my target to mobile device through blue-tooth SPP profile. Once bluetooth connection is up, request is made to create rfcomm channel to communicate. output of ls -all /dev/rfcomm0 crw-rw-rw- 1 root dialout 216, 0…
Daemon
  • 1,575
  • 1
  • 17
  • 37