<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26547/using-nrf52-dk-is-there-an-example-of-a-star-topology</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 04 Nov 2017 08:18:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26547/using-nrf52-dk-is-there-an-example-of-a-star-topology" /><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104444?ContentTypeID=1</link><pubDate>Sat, 04 Nov 2017 08:18:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2bdd44f-96d2-4467-96da-4bc1960357bb</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;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 &amp;quot;boxes&amp;quot; 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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104442?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 18:02:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd45f71b-e83e-4152-80b1-e2bccc36c928</guid><dc:creator>asha</dc:creator><description>&lt;p&gt;Hi,
Thank you for answering.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Thanks,
Asha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104441?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 00:44:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcc1c4f2-ff09-43f3-ba53-c4b4426cb7ae</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;There is no single example solving your problem I&amp;#39;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&amp;amp;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104443?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 00:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:560ef17d-2920-43db-92fd-c74429fd59fe</guid><dc:creator>asha</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I understand about the complexity and that is why I had asked if there is an example code??
If not, I can understand.
Thanks,
Asha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104452?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 23:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e6b7c29-6bdd-41ec-b289-e7259139d6d6</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Oh there are lot of things to change and add! If I understand the code correctly it only solves &amp;quot;upstream&amp;quot; part so you need to find how BLE stack is initialized, add more roles/slots to handle more connections in parallel, initialize GAP and GATT layers to handle them, separate events between &amp;quot;IoT&amp;quot; and your &amp;quot;app&amp;quot; part, manage scanning and connecting and GATT Service discovery (assuming nRF5 DK acts as GAP Peripheral towards RPi but as GAP Central + GATT Client towards &amp;quot;sensors&amp;quot;) and all the app layer protocols on top of it (e.g. HRM if you really care about this one).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104451?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 23:42:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:302861c1-bf5e-4e67-9b7d-77fac2cb6f1d</guid><dc:creator>asha</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for finally understanding my question.&lt;/p&gt;
&lt;p&gt;So you are confirming that the \examples\iot\udp\ipv6\client example will work with connecting BLE devices but I have to add the code to &amp;quot;scan&amp;quot; for devices and then &amp;quot;connect&amp;quot; ??&lt;/p&gt;
&lt;p&gt;Correct?
Thanks,
Asha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104450?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 23:34:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe5a09a8-650f-4375-aac7-1238085dcb18</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;(however kind warning: understanding of TCP/IP and COAP and other higher-level networking stuff won&amp;#39;t help you at all, this is imply about BLE stack and API to its GATT and GAP layers, so potentially lot of new things and space for frustration...)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104449?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 23:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f91b7bc5-7621-4cdf-ac73-3caf68d8a800</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Okey, so now I understand your question as &amp;quot;How to modify &lt;code&gt;\examples\iot\udp\ipv6\client&lt;/code&gt; example from Nordic that it will connect to certain BLE devices (e.g. HRM), collect data/manage them and on the other side communicate with the cloud over IPv6 (which is working for me as such right now?&amp;quot; And I believe the answer is &amp;quot;Well this is just and example from Nordic and you need to write all application level by yourself. And yes, collecting some data or doing whatever else over BLE is application from IoT gateway point of view. Luckily there are tons of examples in nRF5 SDK so mearging/inspiring should be a big problem.&amp;quot;&lt;/p&gt;
&lt;p&gt;Is my understanding correct now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104446?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 23:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a709823a-186a-4eba-8685-32b9752c5ea1</guid><dc:creator>asha</dc:creator><description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;I have run the &amp;quot;nRF5_SDK_14.1.0_1dda907\examples\iot\udp\ipv6\client&amp;quot; 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 &amp;quot;nRF5_SDK_14.1.0_1dda907\examples\iot\udp\ipv6\client&amp;quot;.&lt;/p&gt;
&lt;p&gt;Thanks,
Asha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104445?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 23:14:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d2e4b8b-89f6-4777-99b5-560cd240db41</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;To be precise I have no clue why you mix all that IoT and UDP and COAP into the game;) What is the purpose of the nRF52 DK in your demo/app? Should it connect over BLE directly with RPI (don&amp;#39;t know if that supports BT LE out of the box) or should it only bridge some gap over BLE to another nRFx board and that is attached to RPi over some wires? In every case you can build your BLE app to bridge 5-50 meters and transport whatever data you need and then o higher layer get these data and upload/download them from /to &amp;quot;cloud&amp;quot; through some app running in your Linux box (let it be RPi) over whatever sexy protocol. This is how most of the &amp;quot;IoT&amp;quot; use cases can be solved easily (and actually should be solved from my point of view but I&amp;#39;m probably too old fashion).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104448?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 23:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3c0c1f0-60ff-49f2-a7b0-1ecf82631d0e</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;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 &amp;quot;cloud&amp;quot; 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&amp;#39;m pretty sure that these three SDK examples you mention (&lt;code&gt;examples\iot\udp\ipv6\client&lt;/code&gt;, &lt;code&gt;examples\ble_peripheral\ble_app_hrs&lt;/code&gt; and &lt;code&gt;examples\ble_central\ble_app_multilink_central&lt;/code&gt;) are not meant to work together out of the box or to be more specific these two &lt;code&gt;ble&lt;/code&gt; 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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104447?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 22:44:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:329700ce-5e0a-46a3-b91b-040bc66873d3</guid><dc:creator>asha</dc:creator><description>&lt;p&gt;Hi,
Thank you for responding.
But I don&amp;#39;t think I made myself clear.&lt;/p&gt;
&lt;p&gt;I would like 2 BLE devices (such as nRF52-DK running an example  like &amp;quot;nRF5_SDK_14.1.0_1dda907\examples\ble_peripheral\ble_app_hrs&amp;quot;) sending data to the cloud via a  nRF52-DK router that is running as an example &amp;quot;nRF5_SDK_14.1.0_1dda907\examples\iot\udp\ipv6\client&amp;quot;.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Is this possible with Nordic nRF52-DK ??&lt;/p&gt;
&lt;p&gt;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??&lt;/p&gt;
&lt;p&gt;Thanks,
Asha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52-DK, Is there an example of a Star topology?</title><link>https://devzone.nordicsemi.com/thread/104440?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 22:21:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:549b76a5-ecec-49b9-8264-1a3cd95276c0</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Sorry but you are mixing layers in the way that there is no really good answer. By &amp;quot;Peripheral&amp;quot; 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)?&lt;/p&gt;
&lt;p&gt;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 &lt;code&gt;examples\ble_central\ble_app_multilink_central&lt;/code&gt; example in nRF5 SDK an more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>