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

Can we run both Mesh protocol and Zigbee protocol on nrf52840?

I'm currently using:

- Board: NRF52840

- SDK for Mesh 2.1.1

- SDK for Thread and Zigbee v1.0.0

My problem is that I want to merge and run both Bluetooth Low Energy Mesh and Zigbee protocols on the same board. I see that both of them can integrate with BLE (Mesh of course it does, and zigbee via multiprotocol like the included example ble_zigbee_dynamic_light_switch_nus). So it might possible right?

While merging, I see some conflictions about the Log modules, and some drivers and libraries which are configured in sdk_config.h file that I'm not sure which one to turn on/off.

Currently I can merge Zigbee protocol support to an ble example (ble_peripheral/ble_app_blinky), and merge Mesh protocol support to that one, but cannot run both of them:

- For adding Zigbee: infocenter.nordicsemi.com/index.jsp

- For adding Mesh: http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.1.1%2Fmd_doc_getting_started_how_to_nordicSDK.html&cp=4_1_0_3_6

- For sdk_config.h file, I just turn some defines of if both of them off and on if one of them on

Then it doesn't work as expected. Am I missing something?

Edited:

It even doesn't start. I cannot view the log to see what wrong inside. So I think it about confliction between sdk_config file above. Any ideas?

Parents
  • Hi,

    It will be very hard to run two separate mesh protocols on a single chip/radio. Both Bluetooth Mesh and Zigbee protocols require the nodes to be in receive mode most of the time to be ready to receive packets from other nodes. If you are going to run two full mesh protocols, you can at most be in receive mode in each of the protocols in 50% of the time, which will lead to heavy packet loss in one or both the protocols. 

    It could be possible to implement one mesh protocol together with a Sleepy End device (Zigbee) or Low-Power nodes (Bluetooth Mesh), but none of these features are currently supported by our stacks.

    Best regards,
    Jørgen

Reply
  • Hi,

    It will be very hard to run two separate mesh protocols on a single chip/radio. Both Bluetooth Mesh and Zigbee protocols require the nodes to be in receive mode most of the time to be ready to receive packets from other nodes. If you are going to run two full mesh protocols, you can at most be in receive mode in each of the protocols in 50% of the time, which will lead to heavy packet loss in one or both the protocols. 

    It could be possible to implement one mesh protocol together with a Sleepy End device (Zigbee) or Low-Power nodes (Bluetooth Mesh), but none of these features are currently supported by our stacks.

    Best regards,
    Jørgen

Children
Related