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

BlueCove in Mac OSX BluetoothAddress issues

I'm having some issues with BlueCove(version 2.1.1-SNAPSHOT) on Mac OS X (10.10.2) using Eclipse + JDK 1.7. Where both address and name seems to be null, thus I cannot connect to it. LocalDevice myDevice =…
RaddyMcKey
  • 47
  • 4
2
votes
0 answers

Send a string of characters from PC to an Android phone using Bluetooth

I am new to working with bluetooth, I have a few months experience working with Java and Android. The title of the question explains pretty well what I want to do. I am trying to do it like here. I am using this bluetooth from Asus. My main issue…
ChrisX
  • 334
  • 1
  • 5
  • 20
2
votes
1 answer

Connecting pc to android phone using bluetooth

I want to establish a bluetooth connection between my pc and android phone and want to send a string from my pc to android phone. I am using Bluecove 2.1.0. I am able to discover nearby bluetooth devices Now I want to pair the devices and send…
karan
  • 93
  • 1
  • 12
2
votes
0 answers

BluetoothSocket blocking its output stream while sending message

Creating a Bluetooth app, I have encountered an unexpected problem, that I cannot understand. PC acts as a server (java+bluecove), and Android phone is used as a client. Client connects to the server (which is confirmed by a message on the server…
Demolition Chico
  • 73
  • 1
  • 2
  • 6
2
votes
1 answer

Authentication in Bluecove - Linux x64 not working

I'm having troubles trying to authenticate a BT device in a pairing process using Bluecove (both bluecove and bluecove-gpl 2.1.1 SNAPSHOT libraries) in Linux x64 with 64 bits JVM. While discovery seems to be fine, when trying to authenticate with…
AlejandroVK
  • 7,373
  • 13
  • 54
  • 77
2
votes
1 answer

My Java bluetooth server on raspberry pi running debian wheezy needs bluecove native library - where can I find it?

I have a Java bluetooth server running on a Windows box which I want to port to the Raspberry pi. I have lots of experience with Java but little with Bluetooth or Linux. The pi currently has Debian Wheezy operating system and I've installed…
2
votes
2 answers

Access Android's OBEX server and read data

I was wondering if it's possible to read data (contacts, missed calls, etc.) from Android's OBEX server from windows with Bluecove. I tried the following code from windows, but it returns OBEX_HTTP_NOT_ACCEPTABLE when connecting. Device address and…
LaLeX
  • 188
  • 3
  • 13
1
vote
1 answer

BlueCove Client Doesn't Recognize PyBlueZ Service

I have a bluetooth server running on my Ubuntu desktop written using PyBlueZ. That server is advertising a certain service via UUID. I have tested this server thoroughly using a client I also wrote with PyBlueZ. Now I am attempting to implement a…
Matt
  • 1,996
  • 5
  • 18
  • 24
1
vote
1 answer

java bluetooth Limited Dedicated Inquiry Access Code (LIAC)

We have a device that is discoverable only in Limited Inquiry Access. There is a second device with a firmware that can talk to this device. We are trying to connect to this device from a computer with a bluetooth dongle. Thus far, we tried to use…
Professor Chaos
  • 8,850
  • 8
  • 38
  • 54
1
vote
1 answer

can't detect bluetooth service ( java.lang.NumberFormatException: For input string: "0S" )

Hello i'want to detect the serial port bluetooth service of an external bluetooth device from my computer, for that i'm using the Bluecove API and the following code : BluetoothDeviceDiscovery bluetoothDeviceDiscovery=new…
Tarik Mokafih
  • 1,247
  • 7
  • 19
  • 38
1
vote
1 answer

Can't detect bluetooth devices with bluecove

I'm trying to show the list of bluetooth devices associated with my PC using bluecove, but it just keep scaning without finding anything, it shows this message on the terminal: BlueCove version 2.1.0 on winsock and stays there without showing any…
Tarik Mokafih
  • 1,247
  • 7
  • 19
  • 38
1
vote
0 answers

How can I make a "hello world" with bluecove-android2?

Does anyone have any good example to share for making a first "hello world" with bluecove-android2? I didn't find anything on Google. How should I use it?
Lorenzo Sciuto
  • 1,655
  • 3
  • 27
  • 57
1
vote
0 answers

Reading phone contacts from input stream sended via bluetooth

I'm trying to read contacts from input stream but I always receive only eof and no data. Data should be in vCard format and I'm trying to only print them to console public void dataDownload(final Connection connection) { Thread thread = new…
Martin
  • 11
  • 3
1
vote
1 answer

Java Bluetooth API

I want to implement bluetooth communication on my final bachelor project, but I'm having a lot of doubts. One of the requisites of this project is to have a Java application that can talk to the micro via Bluetooth. After a lot of research, I've…
rnunes
  • 2,785
  • 7
  • 28
  • 56
1
vote
2 answers

Example connecting Android and Bluecove on a Mac

I have an Android device (HTC Incredible) and I would like to setup bluetooth communication between the android phone and a MacBook Pro. I have got bluecove to start on the Mac and I have done coding using Sockets in Android, but I can not get a…
Milhous
  • 14,473
  • 16
  • 63
  • 82