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, My objective is that not all BLE devices (blue tooth low energy devices such as a heart rate monitor or temperature ) connect to the Cloud. I want a BLE device that just acts as a gateway to the cloud. I am connecting to the cloud via a Raspberry PI.

    I have run the "nRF5_SDK_14.1.0_1dda907\examples\iot\udp\ipv6\client" example on one nRF52DK and was able to connect to the Raspberry PI and that connected to our company Cloud. So now I was trying to connect another nRF52DK to this "nRF5_SDK_14.1.0_1dda907\examples\iot\udp\ipv6\client".

    Thanks, Asha

Reply
  • Hi, My objective is that not all BLE devices (blue tooth low energy devices such as a heart rate monitor or temperature ) connect to the Cloud. I want a BLE device that just acts as a gateway to the cloud. I am connecting to the cloud via a Raspberry PI.

    I have run the "nRF5_SDK_14.1.0_1dda907\examples\iot\udp\ipv6\client" example on one nRF52DK and was able to connect to the Raspberry PI and that connected to our company Cloud. So now I was trying to connect another nRF52DK to this "nRF5_SDK_14.1.0_1dda907\examples\iot\udp\ipv6\client".

    Thanks, Asha

Children
No Data
Related