You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/01/09 12:36:25 UTC

[GitHub] andrzej-kaczmarek opened a new pull request #719: nimble: Add meta-package for HCI transports

andrzej-kaczmarek opened a new pull request #719:  nimble: Add meta-package for HCI transports
URL: https://github.com/apache/mynewt-core/pull/719
 
 
   This makes net/nimble/transport a separate meta-package to allow select HCI transport via syscfg instead of explicitly adding dependency to particular transport package.
   
   The advantage of this approach is that the same application can be used on multiple targets, regardless of controller being used on target BSP. It is also fully backwards compatible since it is still possible to do
   it "the old way", i.e. add explicit dependency to particular transport package instead of meta-package.
   
   By default, combination of RAM transport and NimBLE controller is used which is default configuration for most existing apps.
   
   Each available transport package has its own syscfg value:
   - BLE_HCI_TRANSPORT_EMSPI for net/nimble/transport/emspi
   - BLE_HCI_TRANSPORT_RAM for net/nimble/transport/ram
   - BLE_HCI_TRANSPORT_SOCKET for net/nimble/transport/socket
   - BLE_HCI_TRANSPORT_UART for net/nimble/transport/uart
   
   In addition there's dedicated value to enable RAM transport and NimBLE controller at the same time, which is most common and thus default setting:
   - BLE_HCI_TRANSPORT_BUILTIN

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services