You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Christopher Collins (JIRA)" <ji...@apache.org> on 2017/06/26 21:48:00 UTC
[jira] [Resolved] (MYNEWT-786) newtmgr - BLE support that doesn't
require blehostd
[ https://issues.apache.org/jira/browse/MYNEWT-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Collins resolved MYNEWT-786.
----------------------------------------
Resolution: Fixed
This feature was added to the "new" newtmgr: https://github.com/apache/incubator-mynewt-newtmgr/tree/master/newtmgr
This commit repurposes the "ble" and "oic_ble" connection types. Prior to this change, these types used a unix domain socket to control a blehostd process. Now, they use native BLE support instead.
Example usage:
{noformat}
$ newtmgr conn show ble
Connection profiles:
ble: type=ble, connstring=''
$ newtmgr -c ble --name nimble-bleprph image list
{noformat}
The connstring can optionally contain the following elements:
* ctlr_name=<controller-name> (default="default")
* peer_id=<address-or-uuid>
* peer_name=<advertised-name>
The format of the peer_id value depends on your native OS. In Linux, this is a 6-byte Bluetooth address. In Mac OS, this is a 128-bit device UUID (i.e., NSUUID).
To continue using blehostd, you should change to one of the following connection types:
* bhd
* oic_bhd
> newtmgr - BLE support that doesn't require blehostd
> ---------------------------------------------------
>
> Key: MYNEWT-786
> URL: https://issues.apache.org/jira/browse/MYNEWT-786
> Project: Mynewt
> Issue Type: New Feature
> Security Level: Public(Viewable by anyone)
> Components: Newtmgr
> Reporter: Christopher Collins
> Assignee: Christopher Collins
> Fix For: v1_1_0_rel
>
>
> newtmgr currently supports BLE as a transport via blehostd, a NimBLE host running in a simulated OS. This implementation works, but it comes with the following issues:
> * Inability to use the built-in Bluetooth controller in MacOS.
> * Hassle of setting up and configuring blehostd.
> The task captured in this ticket is to add a second form of BLE support to newtmgr which addresses these shortcomings.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)