DevAcademy BLE fundamentals Lesson 2 error with nRF5340

Hello guys, 

I was refreshing BLE concepts by doing the BLE Fundamentals once again and I have faced some trouble with the nRF5340 dk on Lesson 2.

I have built the application for app and net core and in both cases I get these errors:

[00:00:01.253,601] <err> bt_hci_driver: Endpoint binding failed with -11
[00:00:01.253,631] <err> bt_hci_core: HCI driver open failed (-11)
[00:00:01.253,631] <err> Lesson2_Exercise1: Bluetooth init failed (err -11)

Which I'm pretty shure that didn't appear the first time I went over the course, so maybe its a ncs version issue (using 2.9.0 now).

Any thoughts on that? 

If the version is the issue, what specifically has changed that makes the BL initialization not work?

All the best.

Parents
  • Hi,

    Note that the course repository contains two versions, one for older SDKs and one for v2.7.0 and newer. Did you base your application on the newer version?

    That said, the differences seems to be very small. The call to `bt_enable()` has not changed and should work.

    Perhaps share your application to have more eyes on it in case something is missing in it. Also share the `prj.conf` file and how you build it. And the full log output.

    Ensure your board, toolchain and SDK are working by testing some Bluetooth sample application.

    It should be fairly easy to go back and test the previous version if you want to do that. But I guess you want to get your code to work on 2.9.0 so perhaps not so interesting to spend time on. But which version did you use before?

Reply
  • Hi,

    Note that the course repository contains two versions, one for older SDKs and one for v2.7.0 and newer. Did you base your application on the newer version?

    That said, the differences seems to be very small. The call to `bt_enable()` has not changed and should work.

    Perhaps share your application to have more eyes on it in case something is missing in it. Also share the `prj.conf` file and how you build it. And the full log output.

    Ensure your board, toolchain and SDK are working by testing some Bluetooth sample application.

    It should be fairly easy to go back and test the previous version if you want to do that. But I guess you want to get your code to work on 2.9.0 so perhaps not so interesting to spend time on. But which version did you use before?

Children
Related