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

NCS v1.5.0 "Bluetooth: EnOcean" sample: Bluetooth init failed

Hi,

starting the NCS v1.5.0 "Bluetooth: EnOcean" sample on nRF52840 DK, the following error occurs:

    Bluetooth init failed (err -35)

*** Booting Zephyr OS build v2.4.99-ncs1  ***
I: 8 Sectors of 4096 bytes
I: alloc wra: 0, ff0
I: data wra: 0, 0
I: SoftDevice Controller build revision:
I: e5 c7 9c d9 91 00 1d 66 |.......f
I: ea fb 6e 7b 98 2f 42 0d |..n{./B.
I: f1 60 93 c8             |.`..
E: HCI driver open failed (-35)
Bluetooth init failed (err -35)

Any suggestions?
Thank you.

Parents
  • It works after configuration change from:

    ...
    # Common SoftDevice Controller module configuration
    #
    CONFIG_SOFTDEVICE_CONTROLLER_PERIPHERAL=y
    # CONFIG_SOFTDEVICE_CONTROLLER_CENTRAL is not set
    # CONFIG_SOFTDEVICE_CONTROLLER_MULTIROLE is not set
    ...

    To:

    # CONFIG_SOFTDEVICE_CONTROLLER_PERIPHERAL is not set
    # CONFIG_SOFTDEVICE_CONTROLLER_CENTRAL is not set
    CONFIG_SOFTDEVICE_CONTROLLER_MULTIROLE=y

    And the result is:

    *** Booting Zephyr OS build v2.4.99-ncs1  ***
    I: 8 Sectors of 4096 bytes
    I: alloc wra: 0, fd0
    I: data wra: 0, 2c
    I: SoftDevice Controller build revision:
    I: e5 c7 9c d9 91 00 1d 66 |.......f
    I: ea fb 6e 7b 98 2f 42 0d |..n{./B.
    I: f1 60 93 c8             |.`..
    I: No ID address. App must call settings_load()
    E: set-value failure. key: bt/hash error(-2)
    EnOcean sample is ready!

Reply
  • It works after configuration change from:

    ...
    # Common SoftDevice Controller module configuration
    #
    CONFIG_SOFTDEVICE_CONTROLLER_PERIPHERAL=y
    # CONFIG_SOFTDEVICE_CONTROLLER_CENTRAL is not set
    # CONFIG_SOFTDEVICE_CONTROLLER_MULTIROLE is not set
    ...

    To:

    # CONFIG_SOFTDEVICE_CONTROLLER_PERIPHERAL is not set
    # CONFIG_SOFTDEVICE_CONTROLLER_CENTRAL is not set
    CONFIG_SOFTDEVICE_CONTROLLER_MULTIROLE=y

    And the result is:

    *** Booting Zephyr OS build v2.4.99-ncs1  ***
    I: 8 Sectors of 4096 bytes
    I: alloc wra: 0, fd0
    I: data wra: 0, 2c
    I: SoftDevice Controller build revision:
    I: e5 c7 9c d9 91 00 1d 66 |.......f
    I: ea fb 6e 7b 98 2f 42 0d |..n{./B.
    I: f1 60 93 c8             |.`..
    I: No ID address. App must call settings_load()
    E: set-value failure. key: bt/hash error(-2)
    EnOcean sample is ready!

Children
No Data
Related