Questions tagged [bluecove]

Open Source Java Bluetooth API (JSR-82) implementation for various Bluetooth stacks on Windows, Linux, Mac OSX and Windows Mobile devices

143 questions
0
votes
1 answer

How to run bluecove in ubuntu?

I have installed bluecove by adding those two library in IntellJ: bluecove-2.0.2.jar and bluecove-gpl-2.1.0.jar and I ran the sample code provided in bluecove: import java.io.IOException; import java.util.Vector; import javax.bluetooth.*; /** *…
Black Boy
  • 91
  • 2
  • 9
0
votes
0 answers

bluecov bluetooth connect map profile

I am trying to connect to map profile using bluecov ClientSession…
Manoj
  • 1
0
votes
1 answer

Cannot reconnect to bluetooth server without restarting bluetooth radio

I have an android client device that will attempt to connect to a bluetooth-enabled server and transmit data to it. So far, it's been working great except for one hitch: whenever I want to reconnect to the server after the connection was terminated,…
Max N
  • 1
  • 2
0
votes
1 answer

Sending string from android device to laptop via bluetooth

Im working on a project that involves sending a string from an android phone to my laptop running a 32 bit windows VM (VMWare Fusion). After doing some searching on how to do such a thing, I get the client (phone) working, but for the server…
Spud
  • 133
  • 1
  • 1
  • 12
0
votes
1 answer

Connect Bluetooth Android Client to Bluetooth Java Server

I've been following these two posts SPP Server and Client and this stackoverflow post. I have the server running on a Linux VM and the Android app running on a Samsung Galaxy S6. When I run the server code in Intellij, it says: "Server Started.…
0
votes
0 answers

java bluetooth connection with android

i've beeing working on a project in bluetooth with java on eclispe. im using a code i found on the web and now im trying to study it in order to be able to make a few changes . the code complies and the are no erros . but it seems to…
0
votes
0 answers

Using bluecove to receive messages from phone

I am trying to implement a server type specification on my pc that receives messages from my phone and then does stuff with them. I may have the entirely wrong end of the stick here, but I am using bluecove and have this on my pc: public static void…
w1nter
  • 337
  • 4
  • 23
0
votes
2 answers

Bluetooth socket connection with Bluetooth PC server fails "ava.io.IOException: read failed, socket might closed or timeout, read ret: -1"

I am trying to create a connection between an Android smartphone (Client) with a Bluetooth app (server) running on a PC. Below is the code snippet for Client private static final UUID MY_UUID =…
Sumeet
  • 180
  • 2
  • 9
0
votes
1 answer

Show confirm dialog to accept the connection, bluecove server java

I did a Bluetooth server with bluecove following this tutorial:http://luugiathuy.com/2011/02/android-java-bluetooth/ I want to add a confirm popup with JOptionPane before the connection but I don't know how. Can you help me? Here is the code: import…
Martin
  • 68
  • 8
0
votes
0 answers

Simple Bluetooth Server Raspberry Pi 3(Linux) -- library error

I have written a simple Java bluetooth server copied from the example here digital hacks blog... Simple spp server... I have included the following in my executable jar net.sf.bluecove
user1843591
  • 1,074
  • 3
  • 17
  • 37
0
votes
1 answer

Bluecove & JavaFX -> application threads are not killed/stopped

I use Bluevoce last version (2.1.1 Snapshot). I have a JavaFX application that runs a Bluetooth Server on Windows (for the moment). So far I can manage : Waiting for a client to connect with StreamConnectionNotifier.acceptAndOpen() ; Connexion is…
Mackovich
  • 3,319
  • 6
  • 35
  • 73
0
votes
1 answer

Javafx Task for Bluetooth data reciever

I am creating javafx application where I have this case that I need to listen for data sent over Bluetooth. I have one fxml window on which I need to initialize Bluetooth and start listening from data. Following is my Code for fxml controller: //all…
Prashant
  • 23
  • 6
0
votes
0 answers

Capture Bluetooth communication in Java

I have a small device that works with bluetooth and I want to capture command launched from this device to use them on my computer, anyway I tried to use BlueCove Library But all I receive are some chars, and when I try to launch commands from the…
Ahmed Ghiloubi
  • 341
  • 2
  • 6
0
votes
1 answer

Why does Bluecove require libbluetooth-dev package installed to run

I'm just setting up Bluecove on an Ubuntu system and I see buried down in the wiki for the Linux BlueZ stack that it requires a dev package to be installed for it to work correctly. I understood that a dev package is only required if I need the…
D-Dᴙum
  • 7,689
  • 8
  • 58
  • 97
0
votes
1 answer

Java desktop bluetooth client can not find services

I am new to bluetooth programming, so please keep that in mind. I am trying to connect to a pulse sensor from a desktop pc, specifically the Zephyr HxM BT. I am not using any device specific drivers, the Java bluetooth library I'm using is Bluecove,…
mikal
  • 1
  • 2