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

How to enable Multiprotocol support in nRF connect zigbee example

Hello,

I am using nRF connect SDK v1.4.99-dev1. I have imported ZigBee light_bulb, light_switch,network_coordinator  project in SEGGER and successfully created 

the Zigbee network and control the light_buld with light_switch. 

I want to enable multiprotocol support in Zigbee. 

In this link  Multiprotocol support — nRF Connect SDK 1.4.99 documentation (nordicsemi.com)  they suggest the following method

Enabling multiprotocol support

To enable the multiprotocol support for either Thread or Zigbee, set the following Kconfig option: CONFIG_BT_LL_SOFTDEVICE_DEFAULT

But I am not getting How to add this and how to test the multiprotocol example. 

Can you please help me to resolve this issue?

Thank you,

Pranav.

Parents
  • Hi Pranav,

    You can add multiprotocol support in the light switch sample. In order to do this, you must modify OVERLAY_CONFIG and set overlay-multiprotocol_ble.conf. OVERLAY_CONFIG are additional Kconfig configuration fragment files. CONF_FILE can be supplied to the build system in 3 ways:

    • As a parameter to the west build or cmake invocation via the -D command-line switch. If you have multiple overlay files, you should use quotations, "file1.overlay;file2.overlay"

    • As Environment Variables.

    • As a set(<VARIABLE> <VALUE>) statement in your CMakeLists.txt

    You can find more information about this in this section about important build system variables. More information about activating sample extensions in the light switch sample can be found here.

    As for testing, you'll need a phone or a tablet with the nRF Toolbox application installed, or a similar application, such as nRF Connect for Mobile. When testing, you should be aware of the following assignments, which can be found here:

    LED 1:

    On and solid when a Bluetooth LE Central is connected to the NUS service. Available when using Nordic UART Service (NUS) in the multiprotocol configuration.

    UART command assignments:

    The following command assignments are configured and used in nRF Toolbox when Testing multiprotocol Bluetooth LE extension:

    • n - Turn on the Zigbee light bulb.

    • f - Turn off the Zigbee light bulb.

    • t - Toggle the Zigbee light bulb on or off.

    • i - Increase the brightness level of the Zigbee light bulb.

    • d - Decrease the brightness level of the Zigbee light bulb.

    If more than one light bulb is available in the network, these commands apply to all light bulbs in the network.

    In order to test multiprotocol, you should follow this guide, which tells you how to start UART, configure commands, connect to device, and control the device with the buttons assigned.

    Best regards,

    Marte

Reply
  • Hi Pranav,

    You can add multiprotocol support in the light switch sample. In order to do this, you must modify OVERLAY_CONFIG and set overlay-multiprotocol_ble.conf. OVERLAY_CONFIG are additional Kconfig configuration fragment files. CONF_FILE can be supplied to the build system in 3 ways:

    • As a parameter to the west build or cmake invocation via the -D command-line switch. If you have multiple overlay files, you should use quotations, "file1.overlay;file2.overlay"

    • As Environment Variables.

    • As a set(<VARIABLE> <VALUE>) statement in your CMakeLists.txt

    You can find more information about this in this section about important build system variables. More information about activating sample extensions in the light switch sample can be found here.

    As for testing, you'll need a phone or a tablet with the nRF Toolbox application installed, or a similar application, such as nRF Connect for Mobile. When testing, you should be aware of the following assignments, which can be found here:

    LED 1:

    On and solid when a Bluetooth LE Central is connected to the NUS service. Available when using Nordic UART Service (NUS) in the multiprotocol configuration.

    UART command assignments:

    The following command assignments are configured and used in nRF Toolbox when Testing multiprotocol Bluetooth LE extension:

    • n - Turn on the Zigbee light bulb.

    • f - Turn off the Zigbee light bulb.

    • t - Toggle the Zigbee light bulb on or off.

    • i - Increase the brightness level of the Zigbee light bulb.

    • d - Decrease the brightness level of the Zigbee light bulb.

    If more than one light bulb is available in the network, these commands apply to all light bulbs in the network.

    In order to test multiprotocol, you should follow this guide, which tells you how to start UART, configure commands, connect to device, and control the device with the buttons assigned.

    Best regards,

    Marte

Children
No Data
Related