You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Dale LaBossiere (JIRA)" <ji...@apache.org> on 2017/01/10 22:07:58 UTC

[jira] [Updated] (EDGENT-71) Add bluetooth support

     [ https://issues.apache.org/jira/browse/EDGENT-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dale LaBossiere updated EDGENT-71:
----------------------------------
    Description: 
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

  was:Moved from https://github.com/quarks-edge/quarks/issues/85 .


> 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)