danju
Posts: 5
Joined: Fri Apr 01, 2016 10:09 am

receive advertising data

Fri Apr 01, 2016 2:02 pm

Hi,

I'm running bluecove on my RPI and managed to scan for bluetooth devices. Apparently only BR/EDR devices are shown but I need to see advertising devices as well. Is there a special class or library to scan for devices sending advertising data frequently?

I used the code example from http://www.aviyehuda.com/downloads/MyDi ... tener.java

Framework:
RPI 3 Model B
Raspbian GNU/Linux 8.0 (Jessie)
Java 7 OpenJDK ARMHF
BlueZ Version 5.23
Bluecove-2.1.0
Blueman 1.99.alpha1

Regards

User avatar
Douglas6
Posts: 4874
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: receive advertising data

Fri Apr 01, 2016 2:23 pm

As far as I can tell, Bluecove was last updated in 2008, well before BLE was introduced. You'll need a more recent library, or access to the low-level HCI commands themselves.

danju
Posts: 5
Joined: Fri Apr 01, 2016 10:09 am

Re: receive advertising data

Fri Apr 01, 2016 2:36 pm

Bluecove Version 2.1.1 is from April 2010 and there might have happen allready a implementation as BLE was introduced late 2009 ... hopefully :)

Return to “Java”