SIMULATION of 100 devices.

Hello All,

              I am using nrf52840 in my project. So basically the architecture is the sensor devices(ble peripheral) get connected to the central module(ble central). Now I have done the testing of my code with 1 or 2 devices and it works fine. I want to test the same with 100 devices now. For this I needed one simulator. Any idea on how we can simulate the firmware for peripheral and central with 100 devices. How can we code this or are there any available simulators for ble devices??

Thanks & Regards,

Snehal

Parents
  • Hi,

    What you ask for sounds like highly specialized software, which is outside the scope of firmware and SDKs for nRF. It is possible to emulate nRF Connect SDK applications using QEMU, but that is not for simulating multiple devices communicating over BLE. For our own testing we use actual devices.

    Please note that with our current BLE stacks for the nRF52 series devices, the SoftDevice for nRF5 SDK and the SoftDevice Controller for nRF Connect SDK, the maximum number of concurrent BLE connections is 20. For larger networks, you can either do a multilevel star topology or go for a mesh based solution such as Bluetooth mesh, Thread or Zigbee.

    Regards,
    Terje

  • Hi Tesc, 

    I'm briefly highjacking this thread because of what you wrote here:

    > It is possible to emulate nRF Connect SDK applications using QEMU

    Is there any documentation/example setup for this? I tried exactly this some time ago, and while it was somewhat easy to run plain Zephyr in QEMU I didn't manage to run the full nRF Connect SDK in QEMU with networking support. 

  • Hi,

    No worries regarding highjacking - that's what we have a public forum for!

    As you write, QEMU emulation is supported by Zephyr. It should be possible to extend that to nRF Connect SDK projects, but as you have experienced full nRF Connect SDK projects including networking is not straight-forward and I am not aware of any examples or documentation for doing that, no.

    I guess the key takeaway is - in particular for the questions raised in this thread - that we do not have resources for simulation setups. Much would be possible, but it will require you to do the work yourself with only minor direction from our side when needed.

    Regards,
    Terje

Reply
  • Hi,

    No worries regarding highjacking - that's what we have a public forum for!

    As you write, QEMU emulation is supported by Zephyr. It should be possible to extend that to nRF Connect SDK projects, but as you have experienced full nRF Connect SDK projects including networking is not straight-forward and I am not aware of any examples or documentation for doing that, no.

    I guess the key takeaway is - in particular for the questions raised in this thread - that we do not have resources for simulation setups. Much would be possible, but it will require you to do the work yourself with only minor direction from our side when needed.

    Regards,
    Terje

Children
Related