Hi Valens,

Yes, Coded PHY and advertising extensions are fully supported by nimble.
You need to enable and tune them in your project syscfg.yml file.
This is a sample  config I use for testing with most features enabled
   BLE_EXT_ADV: 1
   BLE_EXT_ADV_MAX_SIZE: 1650
   BLE_HCI_EVT_LO_BUF_COUNT: 16
   MSYS_1_BLOCK_COUNT: 160
   MSYS_1_BLOCK_SIZE: 256
   BLE_LL_CFG_FEAT_DATA_LEN_EXT: 1
   BLE_LL_CFG_FEAT_LE_2M_PHY: 1
   BLE_LL_CFG_FEAT_LE_CODED_PHY: 1
   BLE_LL_CFG_FEAT_LL_PRIVACY: 1
   BLE_LL_CONN_INIT_MAX_TX_BYTES: 251
   BLE_LL_CONN_INIT_SLOTS: 4
   BLE_LL_DTM: 1
   BLE_LL_DTM_EXTENSIONS: 1
   BLE_LL_VND_EVENT_ON_ASSERT: 1
   BLE_MAX_CONNECTIONS: 5
   BLE_MAX_PERIODIC_SYNCS: 5
   BLE_MULTI_ADV_INSTANCES: 5
   BLE_PERIODIC_ADV: 1
   BLE_PERIODIC_ADV_SYNC_TRANSFER: 1
   BLE_VERSION: 51

As for PCA10059, it is compatible with PCA10056 (with exception of LED
and buttons)
so the build for PCA10056 should work on nRF52840 dongle.

Also I'm not sure if USB support went in before 1.8 was tagged so you
may have to use master branch instead of release.

On Fri, 25 Sep 2020 at 00:56, Valens D'Silva
<valens.dsi...@revivalanalytics.com> wrote:
>
> Hi,
>
> I am new to Apache and the mynewt-nimble project. I am a little familiar with 
> Zephyr and the nRF52840.
>
> We have an application where I want to use the nRF52840 dongle (PCA10059) in 
> USB HCI mode with a Linux host system (Pi Zero, BLueZ 5.55) which acts as a 
> BLE central. Our application must use LE coded Phy and  tx power settings for 
> max range.
>
> I’ve learn from Zephyr devs that setting LE is currently not supported in HCI 
> mode with their open source stack.
> Does mynewt-nimble support the host system (specifically BLuez and hcitool) 
> setting the LE phy and the tx power level in USB HCI mode?
> I see commands in 
> mynewt-nimble<https://github.com/apache/mynewt-nimble>/nimble<https://github.com/apache/mynewt-nimble/tree/master/nimble>/include<https://github.com/apache/mynewt-nimble/tree/master/nimble/include>/nimble<https://github.com/apache/mynewt-nimble/tree/master/nimble/include/nimble>/hci_common.h
>  but I’ve learnt from Zephyr that doesn’t always mean the feature works as yet
> If the project does support this I’m assuming I would use this tutorial:
> https://mynewt.apache.org/latest/tutorials/ble/blehci_project.html
> Change transport to USB in 
> mynewt-nimble<https://github.com/apache/mynewt-nimble>/apps<https://github.com/apache/mynewt-nimble/tree/master/apps>/blehci<https://github.com/apache/mynewt-nimble/tree/master/apps/blehci>/syscfg.yml
> Go to file<https://github.com/apache/mynewt-nimble/find/master>
> Problem: The BSP (PCA10059) is not supported by mynewt-core/hw/bsp.
> Thanks,
> Valens
>
>
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>


-- 
pozdrawiam
Szymon K. Janc

Reply via email to