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

Stream cannot be reopened while doing bytes write to OutputStream in a loop

When I put inLoop() method in a while loop, then the server never runs. It terminates but I want the server to continuously send bytes to the client again and again. How do I do that ? SimpleSPPServer - public class SimpleSPPServer { //start…
sjain
  • 23,126
  • 28
  • 107
  • 185
0
votes
1 answer

External library not available when deploy with fat-jar

I'm using in my program the bluecove library. While running the program via eclipse, all works smooth. I'm now trying to deploy my program, and following this post i'm using fat-jar. When i run the jar file (created by fat-jar), the library can't be…
Presen
  • 1,809
  • 4
  • 31
  • 46
0
votes
1 answer

Server exception: The connection implementation for btspp cannot be found

I am developing a BluetoothServer using Raspberry, bluecove-2.1.0.jar java version "1.8.0_06" Java(TM) SE Runtime Environment (build 1.8.0_06-b23) Java HotSpot(TM) Client VM (build 25.6-b23, mixed mode) Here the server java code: public class…
darkZone
  • 603
  • 3
  • 12
  • 25
0
votes
2 answers

Unable to find bluecove jar while executing the project as a .jar

My Java Swing application works fine when I run it from eclipse. But when I try to run it as a jar file, it fails to recognise my referenced libraries (bluecove-2.1.1-SNAPSHOT.jar) and gives me the following error: Exception in thread "main"…
u009988
  • 394
  • 1
  • 6
  • 14
0
votes
1 answer

getting started with computer (linux) based bluetooth device making it discoverable for surrounding phones

I am looking for a basic code example, or even better a corresponding tutorial, for a program taking advantage of the local bluetooth hardware to act as one (or more) bluetooth device which can then be discovered/seen/talked to by a nearby…
Sim
  • 4,199
  • 4
  • 39
  • 77
0
votes
1 answer

Using 32bit Java library with JavaFX 2 (OS X)

I have written a small class using a 32bit Java library (http://bluecove.org/) to control a Lego Mindstorms NXT robot over Bluetooth. However, I would like to use this class now within a Java FX 2.0 application and Java FX 2.0 requires at least Java…
Michael Stauffer
  • 298
  • 1
  • 4
  • 15
0
votes
1 answer

Bluetooth Server Android - Client Java Bluecove. UUID?

I'm writing an application to communicate between my smartphone and a computer using a bluetooth device. I'm using Bluecove to manage the bluetooth on the computer, and the android API for my android device. However, when I'm debugging, nothing…
Bardo91
  • 585
  • 2
  • 7
  • 17
0
votes
1 answer

How to transfer objects between Android and PC using Bluetooth and ObjectOutputStream and ObjectInputStream?

I have met a problem when implementing communication between PC and android using BT. I have an application which works correctly on WIFI communication, using standard java Socket, and its streams. I am trying to add Bt communication. Android side…
0
votes
1 answer

Can I debug bluecove library?

I see that Bluecove is open source, but there aren't any .pro files in sources. How can I open sources in eclipse and debug?
IKM2007
  • 716
  • 1
  • 8
  • 31
0
votes
1 answer

How launch bluecove programmatically

I'm trying to lunch bluetooth stack manually(after closing bluetooh stack). I look after BlueCoveImpl.java and find out that bluetooth stack initialized in private BluetoothStack detectStack() method, which I trying to call by…
IKM2007
  • 716
  • 1
  • 8
  • 31
0
votes
1 answer

Bluetooth on Android not sending messages

I have followed Google's tutorial on using Bluetooth on Android. On the server side which is a computer I've used Bluecove. I have managed to establish the connection between the devices (they weren't paired first and when I ran the program both of…
MikkoP
  • 4,864
  • 16
  • 58
  • 106
0
votes
1 answer

Ios ExternalAccessory bluetooth problems

I am having some difficulties getting ExternalAccessory running for my ipod... I have a bluecove bluetooth listener running on my computer (mac, Mountain Lion) in java (Code for that here: http://pastebin.com/j6Eu0H66), and I have successfully…
Georges Oates Larsen
  • 6,812
  • 12
  • 51
  • 67
0
votes
1 answer

Bluetooth - Put Device in inquiry mode permanently

I want to know if it is possible to put a device in inquiry mode permanently, using blue cove. Here is the code actually, it only puts the device in inquiry for a short period of time. public class DescobrirDispositivos { /** * @param…
0
votes
3 answers

Bluecove on PC cannot detect connected android (galaxy tab 7.0)

I use this code luugiathuy.com/2011/02/android-java-bluetooth/ The server side is the PC the client is the device, with the app based on bluetooth chat example The device (galaxy tab 7.0) can establish connection with the PC. However the PC server…
RadZaeem
  • 311
  • 2
  • 4
  • 11
0
votes
1 answer

Failed to connect [10048]

I've got this code on a button, when I press it I get the Error: Error: Exception connecting to NXT. Caused by lejos.pc.comm.NXTCommException: Open of NXT failed. at lejos.pc.comm.NXTCommBluecove.open(NXTCommBluecove.java:136) Caused by…
Cab Zx
  • 101
  • 3
1 2 3
9
10