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.

  • Hi, Thank you for responding. But I don't think I made myself clear.

    I would like 2 BLE devices (such as nRF52-DK running an example like "nRF5_SDK_14.1.0_1dda907\examples\ble_peripheral\ble_app_hrs") sending data to the cloud via a nRF52-DK router that is running as an example "nRF5_SDK_14.1.0_1dda907\examples\iot\udp\ipv6\client".

    So on one side a nRF52-DK is connecting via BLE with 2 BLE devices and on the other side thsame nRF52-DK is connecting to the cloud via the Raspberry PI.

    Is this possible with Nordic nRF52-DK ??

    I looked at the examples\ble_central\ble_app_multilink_central and I am wondering if I could use an example from it to connect to the Raspberry PI??

    Thanks, Asha

Reply
  • Hi, Thank you for responding. But I don't think I made myself clear.

    I would like 2 BLE devices (such as nRF52-DK running an example like "nRF5_SDK_14.1.0_1dda907\examples\ble_peripheral\ble_app_hrs") sending data to the cloud via a nRF52-DK router that is running as an example "nRF5_SDK_14.1.0_1dda907\examples\iot\udp\ipv6\client".

    So on one side a nRF52-DK is connecting via BLE with 2 BLE devices and on the other side thsame nRF52-DK is connecting to the cloud via the Raspberry PI.

    Is this possible with Nordic nRF52-DK ??

    I looked at the examples\ble_central\ble_app_multilink_central and I am wondering if I could use an example from it to connect to the Raspberry PI??

    Thanks, Asha

Children
No Data
Related