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

Using nRF52-DK, Is there an example of a Star topology?

Hi,

We bought 3 nRF52-DKs (based on nRF52832 and PCA10040 V1.2.1). We compiled, built, and flashed the systems with several provided examples from nRF5_SDK_14.1.0_1dda907 including ble_central, ble_peripheral, and IoT examples like udp and coap. For the IoT examples we used Raspberry PI as a gateway to our cloud.

Now we would like to create a "star" network where one nRF52-DK is running ble_peripheral, another running IoT udp Client that is connected to cloud via the Raspberry PI, and another running IoT udp Server. I was trying to find and example on your website and I could not. Is there an example like this? Like below,

nRF52-DK peripheral -> nRF52-DK IoT udp client -> Raspberry PI->Cloud->nRF52-DK IoT udp Server

Or is there an example where one nRF52-DK is running ble_peripheral and another running IoT udp Client ? Like below,

  nRF52-DK peripheral -> nRF52-DK IoT udp client 

Any help/suggestions would be very much appreciated.

Thanks, Asha

  • There is no single example solving your problem I'm afraid. Some aspects are coming to the bottlenecks of whole embedded system (like how to operate concurrent links on single low-power radio with single-threaded low-power processor with stack which cannot consume more than ¬100kB of flash and few kB of RAM) so while for some things you will find examples which you can just copy&paste and recompile for some things you will need to learn how API looks like, study examples how it is used (yes, that multilink GAP Central FW project is the great start) and you will need to apply them carefully to that IoT project.

  • Hi, Thank you for answering.

    I am wondering if there is another device that can support BLE stack as well as the WIFI. I mean suppose we have multiple nRF52DK with BLE Stack that can connect with this hub that has BLE and WIFI and does not have to be nRF52DK. Can this hub be a Windows 8 or 10 PC or a Raspberry PI? I realize that an application will need to be developed for the Windows 8 or 10 PC or a Raspberry PI running Linux.

    Thanks, Asha

  • Sure, you have countless options. There are some combo chips like popular ESP32 or Broadcom BCM43012, then you have many modules with combo or dual chips and then you have many "boxes" with wireless things starting from all these RPi and BananaPi and UDROID and whatever up to all Windows/Linux laptops and desktops. So whatever is your budget, power restrictions, programming skills, space restrictions you should find the right thing for you.

Related