This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Java libraries for Connect, Disconnect, Write, Read in BLE communication through a USB Nordic Dongle

Hello Community,

I'm trying to find a way for using the nRF52 DK/nRF51 Dongle as advertiser or ble commands sender. Are there some Java libraries cointaing high level function which allows to obtain this result? The aim is to call some functions in a Eclipse based softwares to simulate a device which send custom advertising packets and at the same time is able to connect with a device and sends commands trough a specific Characteristic.

Thanks. 

Parents
  • Hi,

    The only library that we have for such usage of our Dongles and DKs is pc-ble-driver, which is written in C. On top of that we have wrappers for JavaScript (pc-ble-driver-js) and for Python (pc-ble-driver-py). Please note that the newest stable release of pc-ble-driver as of this writing is the v2.3.2, so you should select the branch tagged as such. (The versions 3.x were discontinued, but there should be a version 4 coming some time in the future.)

    No Java, sorry, but there are general ways to call c code from Java and/or make a wrapper library so if that is what you need you could always try to do that. Please note however that in that case you must do that work yourself, and we will not be able to provide much help as this is not something we have looked into from our side.

    Regards,
    Terje

Reply
  • Hi,

    The only library that we have for such usage of our Dongles and DKs is pc-ble-driver, which is written in C. On top of that we have wrappers for JavaScript (pc-ble-driver-js) and for Python (pc-ble-driver-py). Please note that the newest stable release of pc-ble-driver as of this writing is the v2.3.2, so you should select the branch tagged as such. (The versions 3.x were discontinued, but there should be a version 4 coming some time in the future.)

    No Java, sorry, but there are general ways to call c code from Java and/or make a wrapper library so if that is what you need you could always try to do that. Please note however that in that case you must do that work yourself, and we will not be able to provide much help as this is not something we have looked into from our side.

    Regards,
    Terje

Children
Related