Zephyr set periodic advertising parameters (err -134)

Hello,

I tried to run the sample Bluetooth: Periodic Advertising  but I found some issue.

I'm using SDK v1.9.1.

The first issue was related to advertising creation with error (-5) that I fixed with the following topic.

Now, I countered an error on the set periodic advertising parameters (err -134) as follow:

Someone already got the same issue?

Thank you in advance.

Parents
  • Hello Edvin,

    Of course, I'll upload the code.

    Let me say, the changes respect the public sample are:

    • Added the child_image directory with file hci_rpmsg.conf that has the following contents:
      #
      # Copyright (c) 2021 Nordic Semiconductor
      #
      # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
      #
      
      CONFIG_BT_EXT_ADV=y
      CONFIG_BT_CTLR_ADV_EXT=y
      CONFIG_BT_CTLR_PHY_CODED=y
      
    • Updated the prj.conf
    • CONFIG_BT=y
      CONFIG_BT_PER_ADV=y
      CONFIG_BT_DEBUG_LOG=y
      CONFIG_BT_DEVICE_NAME="Test Periodic Advertising"
      
      CONFIG_BT_CTLR_PHY_CODED=y
      CONFIG_BT_EXT_ADV=y
      CONFIG_BT_USER_PHY_UPDATE=y

    No issue or warning in the building report.

    There're two missing dependencies:

    Project available here.

    Let me know.

    Thank you in adavance.

Reply
  • Hello Edvin,

    Of course, I'll upload the code.

    Let me say, the changes respect the public sample are:

    • Added the child_image directory with file hci_rpmsg.conf that has the following contents:
      #
      # Copyright (c) 2021 Nordic Semiconductor
      #
      # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
      #
      
      CONFIG_BT_EXT_ADV=y
      CONFIG_BT_CTLR_ADV_EXT=y
      CONFIG_BT_CTLR_PHY_CODED=y
      
    • Updated the prj.conf
    • CONFIG_BT=y
      CONFIG_BT_PER_ADV=y
      CONFIG_BT_DEBUG_LOG=y
      CONFIG_BT_DEVICE_NAME="Test Periodic Advertising"
      
      CONFIG_BT_CTLR_PHY_CODED=y
      CONFIG_BT_EXT_ADV=y
      CONFIG_BT_USER_PHY_UPDATE=y

    No issue or warning in the building report.

    There're two missing dependencies:

    Project available here.

    Let me know.

    Thank you in adavance.

Children
No Data
Related