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

Parents
  • Sorry but you are mixing layers in the way that there is no really good answer. By "Peripheral" you mean GAP Peripheral role as defined in BLE since v4.0? How that corresponds with IoT UDP client (which has nothing to do with BLE spec as there is nothing like this so I assume you run it somewhere on APP layer - and probably with several more SW layers in between)?

    If you stay BLE world for a while then indeed star topology is basic use case of GAP Central device in the middle and whatever number (in older stacks typically up to 8, with today best stacks you should be able to operate 20 and more connections in parallel) of GAP Peripheral devices around it, there is examples\ble_central\ble_app_multilink_central example in nRF5 SDK an more.

  • What are the links between nRF52 DK and other components? I mean what is BLE, what is UART/SPI/whatever else over wire, what part you have sorted out (in terms of FW/SW that you are fine with what it does towards "cloud" side)? I suppose there are some demos by Nordic which might fulfill most of your needs (and I believe their support will let you tomorrow when they wake up in Europe) but I'm pretty sure that these three SDK examples you mention (examples\iot\udp\ipv6\client, examples\ble_peripheral\ble_app_hrs and examples\ble_central\ble_app_multilink_central) are not meant to work together out of the box or to be more specific these two ble yes, they at least implement certain common interface (BLE GAP and GATT layers in roles which are able to work together) but one is implementing some standard BT SIG GATT profile (Heart Rate Monitor) and second demonstration LEDs manager.

Reply
  • What are the links between nRF52 DK and other components? I mean what is BLE, what is UART/SPI/whatever else over wire, what part you have sorted out (in terms of FW/SW that you are fine with what it does towards "cloud" side)? I suppose there are some demos by Nordic which might fulfill most of your needs (and I believe their support will let you tomorrow when they wake up in Europe) but I'm pretty sure that these three SDK examples you mention (examples\iot\udp\ipv6\client, examples\ble_peripheral\ble_app_hrs and examples\ble_central\ble_app_multilink_central) are not meant to work together out of the box or to be more specific these two ble yes, they at least implement certain common interface (BLE GAP and GATT layers in roles which are able to work together) but one is implementing some standard BT SIG GATT profile (Heart Rate Monitor) and second demonstration LEDs manager.

Children
No Data
Related