BLE scanner

Rating: 
0
No votes yet

This is the Qt Mobility lowenergyscanner example compiled for Sailfish OS.

It could be used to:

  • Detect available Bluetooth LE devices
  • Discover services
  • Discover characteristics

No Silica UI just plain QML yet. I am planning to refactor it to QML and transform to something like the nRF Toolbox on Android.

Sources here:

https://github.com/martonmiklos/harbour-ble_scanner

Please report issues via Github because I got notification about the issues there however I do not got from the comments below.

Only Bluez5 capable devices are supported! (for e.g. Jolla C with Jämsänjoki)

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-ble_scanner-1.0-1.armv7hl.rpm79.72 KB12/09/2017 - 23:54
Changelog: 

(none)

Comments

vbelloir's picture

Hi,

Your app is the only one BLE scanner I know for Sailfish, so thanks for your work.

Do you still plan to "clone" nRF toolbox?

For my job, I use a lot nRF connect, and a similar app on sailfish would be very good news

 

ar560's picture

Try install on 2.2.0.29 get this:

error: Failed dependencies:
        libQt5Bluetooth.so.5 is needed by harbour-ble_scanner-1.0-1.armv7hl
        libQt5Bluetooth.so.5(Qt_5) is needed by harbour-ble_scanner-1.0-1.armv7hl

ar560's picture

Install dependence
pkcon install qt5-qtconnectivity-qtbluetooth
works now

flypig's picture

In case it's useful to know, I've been using this on an Xperia X running 2.1.4.14 (Lapuanjoki) and it seems to be working as expected.

Is this the example for Qt 5.6?

martonmiklos's picture

Yes it is the Qt example app wrapped some Sailfish code.

dr_gogeta86's picture

Is It opensource ?

martonmiklos's picture

Yepp it is just a Qt example wrapped into a Sailfish app. I will publish it soon including the source, just I got some minor issues to fix.

jdrescher's picture

Hi, it would be really nice to have the code. I want to add BLE functions to my app and would like to learn from your app.