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
1
vote
0 answers

"java.io.IOException: bt socket closed" in Android 12

I am trying to connect to a bluetooth device via SPP and read from input stream. Here is my call() method of Future class that runs on a Single thread executor: ` public Void call() { while (!Thread.currentThread().isInterrupted()) { try { …
1
vote
1 answer

replace the header line of several sequences in a fasta file and replace them with the species names stored in a list (.txt)

I have a fasta file with several sequences, but the first line of all the sequences start with the same string (ABI) and I want to change and replace it with the names of the species stored in a different text file. My fasta file looks…
1
vote
0 answers

SerialDevice.FromIdAsync() throws Invalid Data exception

I am trying to program a uwp app in C#, that must connect to any bluetooth device (not LE) that will be paired with the computer. I started by copying the Microsoft RFComm Chat sample app, but ran into the problem described here (it was too slow,…
user1725145
  • 3,993
  • 2
  • 37
  • 58
1
vote
0 answers

Bluetooth SPP server using Flutter

I want to communicate with a Sepura STP8000 radio from a Flutter app via Bluetooth (specifically SPP, Serial Port Protocol). I first tried the flutter_bluetooth_serial and was able to connect and communicate successfully with another Android device…
Magnus
  • 17,157
  • 19
  • 104
  • 189
1
vote
2 answers

Is it possible to have an Bluetooth SPP connection and BLE GATT connection in an android phone at the same time?

I am making application to connect an android based tablet to BLE GATT based temperature sensor and an Bluetooth SPP based printing device at the same time. Is this possible in android devices? My purpose is to read the temperature sensor to my…
C_dez
  • 11
  • 1
1
vote
1 answer

How to remove colour scale legend from plot() of spp density in R

I am plotting the density of a two-dimensional, weighted spatial point pattern. I'd like to make the plot without a colour scale legend, and save it with no (or minimal) boarders on all sides, like this: My problem is that I can't remove the colour…
Tam42
  • 21
  • 1
1
vote
0 answers

about bluetooth spp retransmission

I am transmitting data from my development board to an Android Phone with Bluetooth SPP,and I am confusing about the SPP data retransmission. According to the Bluetooth spec, packet is retransmitted if the sender receives a response packet with ARQN…
roMoon
  • 339
  • 1
  • 5
  • 12
1
vote
1 answer

How to get two Android devices to connect to the same Bluetooth device without unpairing?

I have an app that I communicate with a Bluetooth device via SPP, and I made a discovery that when I try to connect to the same Bluetooth device using another Android device, the other Android device cannot connect to the Bluetooth device even when…
Pink Jazz
  • 784
  • 4
  • 13
  • 34
1
vote
0 answers

Bluetooth Device (RFCOMM Protocol TDI) Driver shows error when bluetooth is manually turned off and then turned ON on windows tablets

Thanks in advance. We are connecting one device using the bluetooth SPP with Windows tablet as client and the device as server. We initially pair the device with tablet and then with using SPP we connect to device using serial port. and its…
Dnyan Waychal
  • 1,418
  • 11
  • 27
1
vote
1 answer

Is it realistic to stream 12-16 bit audio through SPP bluetooth in realtime?

I have tried to send 12-bit audio to be listened to in real time through the HC05 SPP bluetooth module hooked up to an arduino and DAC over serial with a python RFCOMM socket. I have since learned that Serial Port Protocol is not very great at all…
user P520
  • 317
  • 2
  • 10
1
vote
0 answers

RFCOMM_CreateConnection - already opened state:2, RFC state:4, MCB state:5 - isConnected returns false and can't reconnect

I have the following code to connect to a Bluetooth device: class BiSymConnectThread extends Thread { BluetoothDevice mDevice; public BiSymConnectThread(BluetoothDevice device) throws SecurityException, NoSuchMethodException { …
Pink Jazz
  • 784
  • 4
  • 13
  • 34
1
vote
1 answer

android bluetooth SPP connection terminates before sending all data

This might be delicate: I develop an App for Android 6 which may print several receipts on an Bixolon SPP-R-200II. First, the normal way works fine, connection, printing, etc. looks good. Due to testings I faced one special error. Occasionally the…
b.mucha
  • 11
  • 1
1
vote
3 answers

Bluetooth Serial Port (SPP) incoming port creation

I have a bespoke bluetooth device that I can pair with and connect to using windows 10 and it creates 2 com ports - one is listed as incoming and one is listed at outgoing. When I connect using the 32Feet C# bluetooth libraries I am able to discover…
Paul Coldrey
  • 1,389
  • 11
  • 20
1
vote
0 answers

Acer Iconia One B3-A10 Bluetooth Connection Problems

I have an app that connects to a device using SPP, and for some reason, our Acer Iconia One B3-A10 won't connect to this device. Our other tablets have no issue connecting. Here is my code: public class BluetoothConnectionService { Context…
Pink Jazz
  • 784
  • 4
  • 13
  • 34
1
vote
0 answers

UWP Bluetooth RFComm ConnectAsync problems

I am developing an application which makes Bluetooth (RFComm, SPP) connections with a device. My Android App works like a charm but with UWP I have big problems getting the connection done using: socket.ConnectAsync(service.ConnectionHostName,…
jstuemp
  • 11
  • 2
1 2 3
8 9