movisens / smartgattlib Goto Github PK
View Code? Open in Web Editor NEWSmartGattLib is a Java library that simplifies the work with Bluetooth SMART devices
SmartGattLib is a Java library that simplifies the work with Bluetooth SMART devices
Hi. I wanted to ask if this library can be used to connect to BLE devices on windows when a Bluetooth adapter ( dongle ) is connected.
Is this feature can be implemented using JAVA program which is present for android and ios but not for desktop based app?
1- Scan for devices
2- Connect to a GATT device
BlueCove is a Java library for Bluetooth, for MsWindows, Mac OSX and others.
but it seems that it does not support Bluetooth Low Enegry 4.0.
Android has a standard Java library for Bluetooth LE 4.0: http://developer.android.com/guide/topics/connectivity/bluetooth.html
Is this Java library can be supportable for Bluetooth LE 4.0 for MsWindows and/or Mac OSX?
Hello,
I would like to use your library to communicate with a Bluetooth LE device using Java SE (Desktop, not mobile), thank to a stack like BlueCove. Do you know if it is possible, and if yes, how?
Thank you,
Damien Raemy,
School of Engineering and Architecture of Fribourg
Hi,
in the current build.gradle file the OSGi specific entries declare only one exported package, that is:
'Export-Package': 'com.movisens.smartgattlib'
This prevents the (OSGi) developer to reference some useful utilities like the "GattByteBuffer" class in the "com.movisens.smartgattlib.helper" package.
I don't know if this is wanted or not, in the latter case you may consider to export all the packages within the main one, with a directive like the following:
'Export-Package': 'com.movisens.smartgattlib, com.movisens.smartgattlib.*'
Also an intermediate approach may be adopted, exporting only a subset of the packages: this is clearly up to you.
Thanks.
It would much easier to use this library if it was published to to a maven repository.
You can read about how to do that here
http://maven.apache.org/guides/mini/guide-central-repository-upload.html
or here
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
If you are interested and need help let me know.
Example gradle script with maven deployment can be found here:
http://yennicktrevels.com/blog/2013/10/11/automated-gradle-project-deployment-to-sonatype-oss-repository/
How can use your code to write data to the ble device?
Hi. This project looks really cool. after looking at the readme and Example.java.
https://github.com/movisens/SmartGattLib/blob/master/src/main/java/com/movisens/smartgattlib/Example.java
I don't quite understand the setup. I'm wondering if you could add a bit more detail to make the usage example complete.
You speak about mobile device but it's possible to use this library on a embedded device like the Raspberry PI ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.