This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

periodic advertising command not supported when build as hci_usb using nrf52840dk

Describe the bug
Attempted to use the samples/bluetooth/hci_usb/ project with
CONFIG_BT_EXT_ADV=y
CONFIG_BT_EXT_ADV_LEGACY_SUPPORT=y
CONFIG_BT_EXT_ADV_MAX_ADV_SET=4
CONFIG_BT_PER_ADV=y
CONFIG_BT_PER_ADV_SYNC=y

to run application over HCI over USB for on a NRF52840-DK. But still shows no periodic adv command supported as below:

      Read Authenticated Payload Timeout (Octet 32 - Bit 4)
      Write Authenticated Payload Timeout (Octet 32 - Bit 5)
      LE Set Data Length (Octet 33 - Bit 6)
      LE Read Suggested Default Data Length (Octet 33 - Bit 7)
      LE Write Suggested Default Data Length (Octet 34 - Bit 0)
      LE Add Device To Resolving List (Octet 34 - Bit 3)
      LE Remove Device From Resolving List (Octet 34 - Bit 4)
      LE Clear Resolving List (Octet 34 - Bit 5)
      LE Read Resolving List Size (Octet 34 - Bit 6)
      LE Set Address Resolution Enable (Octet 35 - Bit 1)
      LE Set Resolvable Private Address Timeout (Octet 35 - Bit 2)
      LE Read Maximum Data Length (Octet 35 - Bit 3)
      LE Read PHY (Octet 35 - Bit 4)
      LE Set Default PHY (Octet 35 - Bit 5)
      LE Set PHY (Octet 35 - Bit 6)
      LE Enhanced Receiver Test (Octet 35 - Bit 7)
      LE Enhanced Transmitter Test (Octet 36 - Bit 0)
      LE Set Advertising Set Random Address (Octet 36 - Bit 1)
      LE Set Extended Advertising Parameters (Octet 36 - Bit 2)
      LE Set Extended Advertising Data (Octet 36 - Bit 3)
      LE Set Extended Scan Response Data (Octet 36 - Bit 4)
      LE Set Extended Advertising Enable (Octet 36 - Bit 5)
      LE Read Maximum Advertising Data Length (Octet 36 - Bit 6)
      LE Read Number of Supported Advertising Sets (Octet 36 - Bit 7)
      LE Remove Advertising Set (Octet 37 - Bit 0)
      LE Clear Advertising Sets (Octet 37 - Bit 1)
      LE Set Extended Scan Parameters (Octet 37 - Bit 5)
      LE Set Extended Scan Enable (Octet 37 - Bit 6)
      LE Extended Create Connection (Octet 37 - Bit 7)
      LE Read Transmit Power (Octet 38 - Bit 7)
      LE Set Privacy Mode (Octet 39 - Bit 2)

To Reproduce
Steps to reproduce the behavior:

  1. Build samples/bluetooth/hci_usb/ with CONFIG_BT_EXT_ADV=y, CONFIG_BT_PER_ADV=y and flash to board
  2. using bluez "hcitool cmd 0x04 0x02" to get the supported HCI command
  3. using bluez "btmon" to see the supported HCI command

Expected behavior
bytes37 bit2 ~ bit4, bytes38 bit0 ~ bit2 shall be set to 1

Parents Reply Children
Related