Questions tagged [spp]

Serial Port Profile (SPP) defines how to set up virtual serial ports and connect two Bluetooth enabled devices

Serial Port Profile (SPP) is a Bluetooth mode where the connected devices communicate via virtual serial ports.

135 questions
0
votes
0 answers

Bluetooth SPP to a Raspberry returns looping weird values

I'm running out of ideas, I finally got a connection to a Bluetooth Barcode Scanner via SPP, but once I'm listening to the connection with sudo cat /dev/rfcomm0 It's repeating the scanned code, everytime prepending some ^JJJ…
0
votes
1 answer

BLE SPP profile

For my project, I intend to use SPP over BLE using the Bluez stack. I however find no sample code for Bluez for BLE SPP profile. Can someone help with a sample application for BLE SPP for Bluez? Preferably BLE SPP server. Regards
0
votes
1 answer

Did something change with Bluetooth Serial in Android 10?

I have a Google Pixel 3a XL on Android 10 that is unable to make a good Bluetooth serial connection to a Bluetooth SPP module using Bluetooth 2.0. However, I can connect to a module with Bluetooth 1.2. I haven't been able to determine if this is…
Lance Lefebure
  • 6,845
  • 6
  • 24
  • 18
0
votes
1 answer

How to connect Multiple Bluetooth Device by using SPP?

I am creating an Android APP which could connect the two BT device and do the communication over SPP. To create such application I am following the simple logic. I got the two mac addressed of the BT Device, so in a for loop I am connecting the BT…
MMJ
  • 519
  • 1
  • 9
  • 26
0
votes
1 answer

Is there a way to see if a bluetooth SPP scanner gone sleep?

I have to catch barcode from bluetooth SPP scanner. I can open the com port and catch all scans, however after 2 minutes the scanner goes sleep. When the scanner wakes up, it's not connected anymore but the com port still open. I need a way to find…
fra
  • 186
  • 1
  • 12
0
votes
1 answer

How to register connection callbacks with Bluez Profile1 DBus API

I'm trying to update our bluetooth code on a computer that our android app connects to using rfcomm socket. Until now we have used the --compat option for bluetoothd and some SDP functions to register our bluetooth service. Now I want to use the…
karlsvan
  • 11
  • 5
0
votes
0 answers

Wait for Bluetooth enabled

I have an app used for Bluetooth control of an embedded system using the SPP protocol that has worked fine until Marshmallow. If Bluetooth is enabled when I start the app everything is good. I use startActivityForResult() to prompt the user to…
john8791
  • 161
  • 1
  • 2
  • 10
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

Configuring a zebra scanner via spp

I'm writing an android app, that scans barcodes with a zebra rs6000 scanner connected via bluetooth (spp). So far is everything OK, it works. Now I'm wondering if it's possible to send feedback to the user like different beep-sounds and/or LED…
uc_icu
  • 11
  • 3
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

Data lost while reading on Bluetooth rfcomm device

I have a Bluetooth device which is connected to Android smartphone over Bluetooth SPP profile. Once connection is successful, device opens the rfcomm device handle = open("/dev/rfcomm0", O_RDWR | O_NOCTTY | O_SYNC); After successful connection…
Daemon
  • 1,575
  • 1
  • 17
  • 37
0
votes
1 answer

Android SPP Bluetooth: Implement a Background connection attempt

I would like to minimize the need for user involvement in working with SPP medical devices. The user should only have to pair the device and then connections happen automatically when the device becomes connectable. HDP classic devices are like this…
Brian Reinhold
  • 2,313
  • 3
  • 27
  • 46
0
votes
1 answer

Can Android and iPhone communicate over bluetooth SPP profile?

Android and iPhone communicate over bluetooth SPP profile ? Can huge data communication possible ? Can't use BLE.
AdiAtAnd
  • 119
  • 1
  • 13
0
votes
0 answers

Android Bluetooth do not connect

I am creating an application that connects via bluetooth to a custom hardware device that uses the SPP protocol. The problem is that I can't connect with the device. Before testing it I tried: connect with my application to another phone that write…
0
votes
1 answer

How to get received bytes via bluetooth in hexadecimal?

I'm trying to receive data via bt on android device. When I'm sending bytes from terminal (for example 0x10 0x20 0x30 0x40) I don't get any response (the Toast does not pop-up). I wan't to get data in hexadecimal, not as a string. Here is the code…
Juras
  • 23
  • 1
  • 9
1 2 3
8 9