I'm trying to connect from my Windows PC to my GPS-Running Watch (TomTom Runner 2), as there are only Android & iOS Apps available that support Syncing via Bluetooth. Windows need to use the USB-Cable, but I like to do this with BLTH.
For Linux, there is already existing a project: https://github.com/dlenski/ttblue but sadly not for Windows.
I'm a beginner in Java, but already got with Netbeans and the official Code Examples from BlueCove (http://bluecove.org/bluecove/apidocs/overview-summary.html) some sucess. The Java Code is finding BLTH-Devices in the near, but not the GPS-Watch. But the GPS-Watch itself is same time visible to other Devices (Android Phone, Microsoft Windows), also visible in the Windows Settings on the same system where the Java Code is running.
I'm now a bit struggeling why BlueCove is not finding the device, also if the Hardware is able to?
I already came to the idea if this is related to the BLTH-Stack. Winsock is used as default. Using: System.setProperty(BlueCoveConfigProperties.PROPERTY_STACK, "widcomm");
Result in: Native Library bluecove_x64 not available Exception in thread "main" javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available; resource not found bluecove_x64.dll load [bluecove_x64] no bluecove_x64 in java.library.path Where I'm right not sure what the issue is.
To get sure it's (or not) related to the BLTH-Stack I tried the Test-Programm from Bluecove (bluecove-tester-app.jar - http:// bluecove.org/bluecove-examples/bluecove-tester/) I'm able to start, but on selecting Discovery it will result in error:
"libraries not available" On & Offline.
Just wondering as I expected (as Java newbie) in a .jar all is already included. Also in Netbeans it looks all libraries in the .jar. But finally this is not my issue.
Sorry for the long text... Maybe one of you could give me an hint.
Thanks and regards.