nRF Connect SDK 1.9.0 Bluetooth Multiple advertising sets error

Good afternoon,

I built and flashed the Bluetooth Multiple advertising sets sample in VS Code using the nRF Connect Extension Pack onto my nRF5340-DK and come across an error.

Inspecting the output from the terminal I am getting the following error:

W: opcode 0x2036 status 0x01
Failed to create a non-connectable advertising set (err -5)

Can anyone please help me to find and fix the issue.

Parents Reply Children
  • Good morning Sigurd,

    Thank you very much for the assistance.  I added the folder and child image to the nRF Connect SDK and it still did not work.  I had to add it in VS Code while the project is open under my project folder and then it worked.  Not sure if I have to add the folder in a CMake somewhere?

    Can you maybe explain why we need a child image for this sample?  I have not come across something like this in other Bluetooth samples. 

  • JPSvanderWalt said:
    I had to add it in VS Code while the project is open under my project folder and then it worked.

    So it's now working, correct?

    (Might have to do a pristine build or import the project in VS-code again for it to pick up this new configuration file.)

    JPSvanderWalt said:
    Can you maybe explain why we need a child image for this sample?

    Since this is the nRF5340, you have 2 cores. On the network-core the hci_rpsmg sample is used(Bluetooth-Controller). This is a child-image for the application-core application(where the Bluetooth-Host is). Since this application used Bluetooth features that are not default enabled for the Bluetooth controller, you needed this configuration file.

  • Thank you for the quick feedback Sigurd,

    It is working now correct.  I removed the sample from my workspace, deleted the folder in my project folder, restarted vs Code, reloaded the sample and did a pristine build and still did not pick it up.  No worries it works now.

    Thank you for the explanation.  

    This issue is resolved.

Related