Topics

Enabling LE Periodic Advertising for nRF8240-dongle


Anupam Roy
 

Hello Zephyr Developers,

 I am trying to enable BT 5.0 features - 2MPHY & CODED PHY, LE Extended Advertising & Periodic Advertising features for my nRF52840 USB dongle with Linux Host (Bluez)

In order to enable EXT & Periodic Advertising, I modified my prj.conf file in following way

 

 --- a/samples/bluetooth/hci_usb/prj.conf
+++ b/samples/bluetooth/hci_usb/prj.conf
@@ -5,6 +5,8 @@ CONFIG_UART_INTERRUPT_DRIVEN=y

 CONFIG_BT=y
 CONFIG_BT_HCI_RAW=y
+CONFIG_BT_CTLR_ADV_EXT=y
+CONFIG_BT_CTLR_ADV_PERIODIC=y

 CONFIG_USB=y
 CONFIG_USB_DEVICE_STACK=y

 

After establishing connection, following is the HCI trace for "LE Remote feature Read" request

Even though, CSA#2 & Extended Advertising ae enabled, somehow Periodic Advertising feature is missing.

Please suggest if I am missing something. Thank You

 

< HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2                                                                                                                                                   

  Handle: 0


> HCI Event: LE Meta Event (0x3e) plen 12                                                                                                                                                                           

      LE Read Remote Used Features (0x04)
        Status: Success (0x00)
        Handle: 0
        Features: 0xff 0x59 0x01 0x00 0x00 0x00 0x00 0x00
          LE Encryption
          Connection Parameter Request Procedure
          Extended Reject Indication
          Slave-initiated Features Exchange
          LE Ping
          LE Data Packet Length Extension
          LL Privacy
          Extended Scanner Filter Policies
          LE 2M PHY
          LE Coded PHY
          LE Extended Advertising
         
Channel Selection Algorithm #2
          Minimum Number of Used Channels Procedure
 

 

BR,

-Anupam Roy