<?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>find the demo</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30553/find-the-demo</link><description>Hi Where can I find &amp;quot;light_switch demo&amp;quot; and what programs do I need to run it? I&amp;#39;m have the nrf52840 i hope some can help</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Feb 2018 13:26:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30553/find-the-demo" /><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121799?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2018 13:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92c3b68d-5ef6-44ca-8dd8-b772d08e3f41</guid><dc:creator>mikkel1e</dc:creator><description>&lt;p&gt;also on the client falling into Hardfault_handler&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121798?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2018 13:14:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1925dcf2-3e22-4509-a047-c09bc5ecd569</guid><dc:creator>mikkel1e</dc:creator><description>&lt;p&gt;hi i have now try to debug it, i can see that the server d&lt;span class="short_text" id="result_box" lang="en"&gt;&lt;span class=""&gt;o not get into the two &amp;nbsp;config_params.setup_callback = configuration_setup;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config_params.complete_callback = provisioning_complete;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121736?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 20:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d82a527-9ece-4186-8b6e-d78fc22f970a</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;ok, you should be able to look at the debug output from each client/server(s) instance to determine the last log message reported...&lt;/p&gt;
&lt;p&gt;If running under Segger Embedded Studio (SES) look at the Debug Terminal window for output similar to the following...&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;t:          0&amp;gt;, main.c,  119, ----- BLE Mesh Light Switch Server Demo -----
&amp;lt;t:        306&amp;gt;, main.c,   85, Initializing and adding models
&amp;lt;t:        392&amp;gt;, nrf_mesh_node_config.c,  296, Found previous provisioning data
&amp;lt;t:        398&amp;gt;, main.c,   95, Successfully provisioned
&amp;lt;t:     328072&amp;gt;, access.c,  453, Src Addr: 0x0100, Dst Addr: 0x0001, ttl: 1 
&amp;lt;t:     655783&amp;gt;, access.c,  453, Src Addr: 0x0100, Dst Addr: 0x0001, ttl: 1 
&amp;lt;t:     983496&amp;gt;, access.c,  453, Src Addr: 0x0100, Dst Addr: 0x0001, ttl: 1 &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;t:          0&amp;gt;, main.c,  431, ----- BLE Mesh Light Switch Client Demo -----
&amp;lt;t:          0&amp;gt;, nrf_mesh_sdk.c,  190, Initializing softdevice
&amp;lt;t:          0&amp;gt;, nrf_mesh_sdk.c,  125, Initializing SoftDevice...
&amp;lt;t:          2&amp;gt;, nrf_mesh_sdk.c,  134, Ram base: 0x200019C0
&amp;lt;t:         14&amp;gt;, nrf_mesh_sdk.c,  200, Initializing mesh stack
&amp;lt;t:        301&amp;gt;, nrf_mesh_sdk.c,  208, Enabling mesh stack
&amp;lt;t:        306&amp;gt;, main.c,  183, Setting up access layer and models
&amp;lt;t:     780589&amp;gt;, main.c,  305, Node 0x0100 alive with 0 active fault(s), RSSI: -22
&amp;lt;t:    1108509&amp;gt;, main.c,  305, Node 0x0100 alive with 0 active fault(s), RSSI: -22
&amp;lt;t:    1436233&amp;gt;, main.c,  305, Node 0x0100 alive with 0 active fault(s), RSSI: -21&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you are provisioning a server the first time around (or after flash erase) you should see something similar to the following on the client console...&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;t:          0&amp;gt;, main.c,  432, ----- BLE Mesh Light Switch Client Demo -----
&amp;lt;t:          0&amp;gt;, nrf_mesh_sdk.c,  190, Initializing softdevice
&amp;lt;t:          0&amp;gt;, nrf_mesh_sdk.c,  125, Initializing SoftDevice...
&amp;lt;t:          2&amp;gt;, nrf_mesh_sdk.c,  134, Ram base: 0x200031B8
&amp;lt;t:         18&amp;gt;, nrf_mesh_sdk.c,  200, Initializing mesh stack
&amp;lt;t:        296&amp;gt;, nrf_mesh_sdk.c,  208, Enabling mesh stack
&amp;lt;t:        301&amp;gt;, main.c,  183, Setting up access layer and models
&amp;lt;t:    3157745&amp;gt;, provisioner.c,  226, Starting provisioning for dev-uuid: 0xAA:BB:CC:DD:EE:8D
&amp;lt;t:    3313091&amp;gt;, provisioner.c,  278, Local provisioning link established...
&amp;lt;t:    3423959&amp;gt;, provisioner.c,  264, Using static authentication
&amp;lt;t:    3710813&amp;gt;, main.c,  402, Provisioning complete. Adding address 0x0100.
&amp;lt;t:    3815676&amp;gt;, provisioner.c,  111, Getting composition data
&amp;lt;t:    3987315&amp;gt;, provisioner.c,  233, Local provisioning link closed...
&amp;lt;t:    3989603&amp;gt;, provisioner.c,  321, Composition data: 0059000000000020000100000002010000020059000000
&amp;lt;t:    4092674&amp;gt;, provisioner.c,  119, Adding appkey
&amp;lt;t:    4182852&amp;gt;, provisioner.c,  128, Binding appkey to the Health model
&amp;lt;t:    4275555&amp;gt;, provisioner.c,  140, Binding appkey to the Simple On/Off model
&amp;lt;t:    4540729&amp;gt;, provisioner.c,  165, Setting publication address for the health server to 0x0001
&amp;lt;t:    4646250&amp;gt;, provisioner.c,  187, Setting publication address for the On/Off server to 0x0001
&amp;lt;t:    4715953&amp;gt;, provisioner.c,  196, Adding subscription
&amp;lt;t:    4720264&amp;gt;, main.c,  365, Configuration of device 0 successful
&amp;lt;t:    4870118&amp;gt;, main.c,  305, Node 0x0100 alive with 0 active fault(s), RSSI: -22
&amp;lt;t:    5197769&amp;gt;, main.c,  305, Node 0x0100 alive with 0 active fault(s), RSSI: -21
&amp;lt;t:    5525929&amp;gt;, main.c,  305, Node 0x0100 alive with 0 active fault(s), RSSI: -23&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s an example of how the Debug Terminal should look from SES...&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="139" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4530.debug_2D00_terminal.png" width="393" /&gt;&lt;/p&gt;
&lt;p&gt;If you aren&amp;#39;t running within SES then the J-Link RTT Viewer client can be used to monitor debug output from each client and respective server(s).&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121697?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 14:55:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea2f6cff-4adb-4e8e-8a32-61c7222f0c6a</guid><dc:creator>mikkel1e</dc:creator><description>&lt;p&gt;it works now, but w&lt;span class="" id="result_box" lang="en"&gt;&lt;span&gt;hen I&amp;#39;m testing the program, I&amp;#39;m not sure if it works because it&amp;#39;s like the &lt;/span&gt;&lt;/span&gt;&lt;span class="" lang="en"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span&gt;the client does not always get any of the servers. &lt;/span&gt;&lt;/span&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span&gt;somthing else i&amp;#39;m not syre of is it true that all 4 LEDs should light up once on one server&lt;/span&gt; &lt;span class=""&gt;and is it true that &lt;/span&gt;&lt;/span&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;I should be able to manage 2 servers at Button 1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121593?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 01:05:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b70e97a9-0415-4479-bec2-f1ae7ab5fa03</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;ok, i&amp;#39;m not sure what you did to hose your mesh setup but to get back on track I would suggest that you extract the&amp;nbsp;&lt;span&gt;nRF5-SDK-for-Mesh v1.0.1 SDK to your preferred folder/location and once that is in place simply extract the &lt;em&gt;examples.zip&lt;/em&gt; file (provided by Hung Bui) over the &lt;em&gt;%nrf5-mesh-sdk_v1.0.1%/examples&lt;/em&gt; folder (&lt;em&gt;%nrf5-mesh-sdk_v1.0.1%&lt;/em&gt; = the folder where you extracted mesh).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;With that in place, you should then be able to see:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(1) &lt;em&gt;light_switch_server_nrf52840_xxAA_s140_5_0_0-3_alpha.emProject&lt;/em&gt; and&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(2)&amp;nbsp;&lt;em&gt;light_switch_client_nrf52840_xxAA_s140_5_0_0-3_alpha.emProject&lt;/em&gt; in the&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;.\examples\light_switch\server&lt;/em&gt; and &lt;em&gt;.\examples\light_switch\client&lt;/em&gt; folders respectively.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;From there you should be able to launch those .emProject files in Segger Embedded Studio and build successfully.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121483?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 08:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2af66201-ded5-4a7a-b8ed-0dcfdc66a219</guid><dc:creator>mikkel1e</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1519203141669v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121473?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 08:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a62995e-9a7e-498f-ae5b-5c39cc5b960d</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;ok, you will either have to document the exact errors that you are getting and/or include a screenshot if at all possible in your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121471?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 07:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:079a278d-4938-4aa7-a559-7643e1ee2ae2</guid><dc:creator>mikkel1e</dc:creator><description>&lt;p&gt;ohh yeah i have missed but now i have try and it will not run, it says is missing some librarys, so don&amp;#39;t now what i&amp;#39;m doing wrong&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121415?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 15:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:481e4922-cb4a-4ef4-9fc7-8d270a1378e8</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;Sorry,&lt;/p&gt;
&lt;p&gt;I guess I should have explicitly mentioned, there is a &amp;#39;lazy&amp;#39; way... It&amp;#39;s in the original link that I directed you to but you must have missed it! (see here)&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30035/segger-embedded-studio-project-files-missing-in-mesh-sdk-v1-0-1/119325#119325"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/30035/segger-embedded-studio-project-files-missing-in-mesh-sdk-v1-0-1/119325#119325&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Look for the &lt;strong&gt;examples.zip&lt;/strong&gt; file attached by Hung Bui.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/121394?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 13:51:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85694374-6e65-4bc7-9b73-3c28b3c63370</guid><dc:creator>mikkel1e</dc:creator><description>&lt;p&gt;thanks, &lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;but I can not figure out how to make the files so it fits nrf52840, do not know if you can help me with that&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/120998?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2018 15:21:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee16fd99-4c9f-45bd-94c3-d667f75e6fbc</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;&lt;span&gt;hello&amp;nbsp;mikkel1e,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What it means is that the project files to build and run the light switch demo for the nrf52840 board were not included in the&amp;nbsp;nRF5-SDK-for-Mesh v1.0.1 SDK file, so you will need to generate those manually by following the instructions that I linked to.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hopefully this clarifies things.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/120996?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2018 15:16:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f6c2a32-ff6c-4f46-85c6-c669366e1999</guid><dc:creator>mikkel1e</dc:creator><description>&lt;p&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;Thank you, but I do not understand what you write about, that I&amp;#39;m using nrf52840 &amp;quot;Note that since you are using the nrf52840, you will need to follow these &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30035/segger-embedded-studio-project-files-missing-in-mesh-sdk-v1-0-1"&gt;instructions&lt;/a&gt; in order to access the project files for that specific PDK board (assuming you decided to download the latest v1.0.1&amp;nbsp;nRF5-SDK-for-Mesh, this will hopefully be corrected in future mesh SDKs )&amp;quot; try to explain in another way, but thank you very much for the help&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: find the demo</title><link>https://devzone.nordicsemi.com/thread/120993?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2018 14:47:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e84c471-9081-41d2-8811-ca65cbc0f122</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;hello&amp;nbsp;mikkel1e,&lt;/p&gt;
&lt;p&gt;You can find the Bluetooth Mesh light switch demo by downloading the &lt;a href="http://www.nordicsemi.com/eng/nordic/Products/nRF52840/nRF5-SDK-for-Mesh/62721"&gt;nRF5-SDK-for-Mesh&lt;/a&gt;&amp;nbsp;from the following link:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.nordicsemi.com/eng/nordic/Products/nRF52832/nRF5-SDK-for-Mesh/62721"&gt;http://www.nordicsemi.com/eng/nordic/Products/nRF52840/nRF5-SDK-for-Mesh/62721&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After extracting the archive to your file-system, the specific demo can be found by traversing to the ../examples/light_switch folder.&lt;/p&gt;
&lt;p&gt;You will also need a copy of Segger Embedded Studio, which can be found &lt;a href="https://www.segger.com/products/development-tools/embedded-studio/" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that since you are using the nrf52840, you will need to follow these &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30035/segger-embedded-studio-project-files-missing-in-mesh-sdk-v1-0-1"&gt;instructions&lt;/a&gt; in order to access the project files for that specific PDK board (assuming you decided to download the latest v1.0.1&amp;nbsp;nRF5-SDK-for-Mesh, this will hopefully be corrected in future mesh SDKs )&lt;/p&gt;
&lt;p&gt;You should also read the following to guide you through the setup... &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v1.0.1%2Fmd_doc_getting_started_getting_started.html&amp;amp;cp=4_1_0_3"&gt;http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v1.0.1%2Fmd_doc_getting_started_getting_started.html&amp;amp;cp=4_1_0_3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Finally, the default light switch demo assumes you will use 4 development boards (3 for servers and 1 for the client), should you not have this exact configuration, you can follow these &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/24997/confusion-about-server-count-and-client-count-in-ble-mesh/98456#98456"&gt;instructions&lt;/a&gt;, I believe they are still current.&lt;/p&gt;
&lt;p&gt;Post back should you have any further issues.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>