edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale LaBossiere (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EDGENT-71) Add bluetooth support
Date Wed, 11 Jan 2017 20:39:16 GMT

    [ https://issues.apache.org/jira/browse/EDGENT-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819098#comment-15819098
] 

Dale LaBossiere commented on EDGENT-71:
---------------------------------------

Thx for the info.  Looking at Kura I see that it has its own Bluetooth API, not javax.bluetooth.
And the API impl for linux runs the hcitool and gatttool cmds under the covers.

> Add bluetooth support
> ---------------------
>
>                 Key: EDGENT-71
>                 URL: https://issues.apache.org/jira/browse/EDGENT-71
>             Project: Edgent
>          Issue Type: Improvement
>            Reporter: Victor Dogaru
>
> Moved from https://github.com/quarks-edge/quarks/issues/85 .
> [dlaboss]
> I did a bit of investigation of the use of Bluecove (http://www.bluecove.org/) as suggested
in that original issue:
> - BlueCove implements JSR-82 "javax.bluetooth" but development seems to have stopped
in 2008
> - "doesn't implement BLE" [1]
> - challenges making it work on a Raspberry Pi [4],  making it work on a Pi [5]
> - some of it is GPL (unacceptible) but some (the part of interest?) is AL-2.0
> Intel TinyB [2] - what platforms? "everything worked" [1]
> Android BLE API [3]
> Looks like Java ME SDK 3.0 include Bluetooth from in the "Wireless Toolkit" [6]
>    (present in "SE embedded" or "ME embedded" ?)
> For some applications there was a suggestion to just the standard linux Bluetooth stack
"BlueZ" utils
> e.g., "sudo hcitool lescan" and process the command output.
> I've also seen an approach using python to access the bluez stack APIs to perform a "device
scan" and emit the
> desired info to stdout.
> Edgent's Command connector (CommandStreams) provides a convenient way to integrate with
external commands should use of external commands be an acceptable solution.
> [1] http://stackoverflow.com/questions/28855288/java-j2se-bluetooth-low-energy-ble
> [2] intel TinyB https://software.intel.com/en-us/java-for-bluetooth-le-apps
> [3] android BLE API https://developer.android.com/guide/topics/connectivity/bluetooth-le.html
> [4] Pi/Bluecove nightmare https://www.raspberrypi.org/forums/viewtopic.php?f=81&t=120317
> [5] 2015 Pi/Bluecove success?   http://lukealderton.com/blog/posts/2015/january/raspberry-pi-bluetooth-using-bluecove-on-raspbian.aspx
> [6] http://www.oracle.com/technetwork/java/download-135801.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message