![]() |
2013-12-02
, 16:34
|
Posts: 25 |
Thanked: 86 times |
Joined on Feb 2010
@ Düsseldorf, Germany
|
#32
|
![]() |
2013-12-02
, 19:04
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#33
|
I think the Jolla ships with bluez 4.101, which should be enough for Bluetooth LE (at least it is on a linux machine with a USB dongle).
hcitool lescan
The Following 3 Users Say Thank You to javispedro For This Useful Post: | ||
![]() |
2013-12-03
, 01:44
|
Moderator |
Posts: 5,320 |
Thanked: 4,464 times |
Joined on Oct 2009
|
#34
|
kernel 3.5 (or at least the addr_type field in L2 sockaddr struct)
![]() |
2013-12-03
, 02:42
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#35
|
Requisites: none, it is already available on both N9 and Jolla.- QtBluetooth 5.3
Cons: weird API, minimal functionality, some things just fail (dunno why, possibly too old kernel)
Requisites: Jolla to upgrade Qt to 5.3 . It will be released sometime next year, dunno when Jolla will push it towards devices.- Bluez 5 D-Bus API
Cons: I don't think that will ever appear on N9. Also, IMO, scripting "gatttool" doesn't seem like the right choice. No idea how it'll work.
Pros: QT-style API, compatible with Blackberry10
Requisites: Someone to develop it, because it does not exist yet. Plus Mer, Qt, ofono, connman and everyone else to upgrade to Bluez 5 API. Additionally, kernel 3.5.- QtBluetooth 5.??? + Bluez 5
Cons: dunno when that will happen, if ever. But it could happen. Never on the N9, though.
Pros: If Bluez is arbitrating, you can do scanning and advertising from different programs without conflicts.
Requisites: see above- A custom GATT/ATT library
Cons: Does not exist, but it's probably going to be something very similar to what Qt 5.3 does
Pros: QT-style API, portable
Requisites: write it (which I'm doing)
Pros: works _right now_ on N9 and (should work on) Jolla. QT-style API. Also will work whatever the version of Bluez is.
Cons: might be redundant in the future, not portable at all
![]() |
2013-12-03
, 05:13
|
Posts: 1,432 |
Thanked: 2,630 times |
Joined on Jan 2011
@ Touring
|
#36
|
![]() |
2013-12-03
, 14:18
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#37
|
How much of this progress is also applicable to the N900, I don't know if the N9 is even running a similar bluetooth chip.
![]() |
2013-12-03
, 16:18
|
|
Posts: 108 |
Thanked: 579 times |
Joined on Feb 2013
@ Požega, Croatia
|
#38
|
The Following User Says Thank You to filip.pz For This Useful Post: | ||
![]() |
2013-12-03
, 17:08
|
Posts: 343 |
Thanked: 819 times |
Joined on Jan 2010
@ Paris, France
|
#39
|
The Following User Says Thank You to P@t For This Useful Post: | ||
![]() |
2013-12-03
, 17:38
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#40
|
Wouldn't it be more wise to move to 3.5 kernel? I've been adding feature to existing 3.5 implementation as mentioned here: http://talk.maemo.org/showthread.php?p=1383872, but at the moment there is no one working on it AFAIK.
I thought that, if someone was to resolve major issues, others would join the effort, but that didn't happen...
Not sure how much it is interesting to you but I read on IRC that Jolla is planing to switch to Bluez 5 (from one of their developper)
And this is actually the reason why currently some API related to Bluez 4 are not authorised in the jolla store because it may change 'soon' (not date announced).
PS: as I am not familiar with this, my words may not be very appropriate but still hope that helps
I've used my own GATT stack, which I hope to eventually reuse in the Jolla device for MetaWatch connectivity and other experiments (since it seems that Jolla device is shipping without working QtBluetooth implement and with Bluez < 5.0).
Now the question is: anyone interested? what BLE devices do you have in mind?