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

How to get bluetooth RFCOMM to work consistently?

I am trying to build an Android application that will interface with an external GPS receiver via the Bluetooth Serial Port Profile (SPP). I am using a Nexus One running 2.3.3. I have managed to get my application to receive data from GPS, but I…
Lance Lefebure
  • 6,845
  • 6
  • 24
  • 18
0
votes
1 answer

How do I dump serial communication as file through Android bluetooth serial RFCOMM

My Android app receive serial communication over bluetooth from desktop application. I have no control over what that desktop application is doing. Using Google BluetoothChat sample code (https://github.com/googlesamples/android-BluetoothChat). I…
Haris Hashim
  • 33
  • 1
  • 8
0
votes
1 answer

DeviceInformation.FindAllAsync not finding same number of COM ports

I have a Xamarin UWP app which needs to listen to a device on a COM port. The ultimate purpose of this is for the customer to use Microsoft surfaces and GPS devices and let their associates wander around and take GPS readings. I am attempting to…
Walter
  • 13
  • 3
0
votes
0 answers

Where data can be buffered on rfcomm connection?

i'm trying to pass data between two bluetooth devices, when both connected to two different computers. After having hci device in each of the computers, i'm using rfcomm to pass information between the two. I'm trying to pass 10MB of random data…
liadd
  • 41
  • 2
  • 10
0
votes
2 answers

UWP Bluetooth Communication: bluetoothDevice object is always set to null

I try to let PC and HoloLens communicate over Bluetooth RFCOMM so I'm writing a UWP App. I can get the device info and so the id with a device watcher. My problem is this line: var bluetoothDevice = await…
duesterdust
  • 87
  • 1
  • 7
0
votes
1 answer

Is it possible to use RFCOMM API to write customize AT command to use bluetooth headset

Like switch radio channel by AT command
atu0830
  • 405
  • 7
  • 15
0
votes
1 answer

Why cant I connect to the hands free service on my device?

I have my gear s2 watch (tizen 2.3.2) connected to my samsung galaxy s3 (android 4.3) over bluetooth using Tizen Bluetooth API. Using the MAC address of the phone, I am able to "discover" 16 different UUIDs, including…
AJBUCH
  • 1
  • 3
0
votes
1 answer

Unable to connect to the Bluetooth?

I am trying to connect to another Bluetooth through programmatically in android but continuously I am getting this error. anyone, please help me to connect Bluetooth. is there anything wrong with my code. i am working with bluetooth from last 2…
0
votes
1 answer

Bluetooth communication using serialports and windows 10 (spp1.1)

I have a problem with bluetooth connection between windows 10 and external device wherein manufacturer (lets say that CompanyX) use Serial Port Profile 1.1. Only what i get from CompanyX is documentation about communication using virtual serial…
oExito
  • 33
  • 3
0
votes
1 answer

TextView not updating in RFCOMM handler

I need to update a TextView based on the data I receive from the bluetooth rfcomm channel This is the rfcomm handler function: // The Handler that gets information back from the BluetoothChatService private final Handler mHandler = new Handler()…
user13267
  • 6,871
  • 28
  • 80
  • 138
0
votes
1 answer

Sending an APK via Bluetooth to another device

I´m trying to develop an App which can send an .APK file via Bluetooth to another device with an Insecure Rfcomm connection. I´m running self-coded apps on both devices. The apps are not the same but I can still set the UUID, Rfcomm Listener and so…
J. Hock
  • 125
  • 1
  • 11
0
votes
1 answer

Unable to receive and send data via bluetooth rfcomm in android app

I am working on the project in which U have to connect with other device via bluetooth RFCOMM. I wrote some code (mostly based on Mitch Tabian tutorials on youtube), and I am stuck. I am able to connect to laptop, but I can't send and receive any…
Chris N
  • 11
0
votes
1 answer

Send file lines over RFComm with pyBluez: unexpected result

Running python 2.7 Read the file and send: with open(payload) as f: for line in f: syslog.syslog("Send script line: " + data) sock.send(line) Receive: while True: data = self._client_sock.recv(1024) …
juan ezquerro
  • 145
  • 2
  • 12
0
votes
1 answer

Which bluetooth connection type is the right one to choose?

I have a Samsung Gear S3 (running Tizen) with a selfmade web-app for logging Data from the heartrate monitor as well as from the Pedometer to a .csv-file. I would like to send each line in the .csv via Bluetooth to an UWP App. As I am a total…
Nayangar
  • 139
  • 10
0
votes
2 answers

Data transmission using RF with raspberryPi

I have a project that consisted of transmitting data wirelessly from 15 tractors to a station, the maximum distance between tractor and station is 13 miles. I used a raspberry pi 3 to collect data from tractors. with some research I found that there…
Hamza
  • 440
  • 7
  • 20