<?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>BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24402/ble-mesh-sdk-along-with-peripheral-mode</link><description>I want to change the light-control example given in mesh SDK such that instead of using buttons to trigger messages, I want to connect client with mobile and control servers through mobile.
At beginning, I am trying with one client and one server to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Oct 2017 08:22:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24402/ble-mesh-sdk-along-with-peripheral-mode" /><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96116?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 08:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53d0f38a-02fe-4b3f-a1fa-9916576d30f4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It should be possible. The only issue is that SDK v14.1 uses S140 v5.0.0 when the Mesh SDK uses S140 v5.0.0-3 alpha. There are some differences in the header files. But it shouldn&amp;#39;t be too hard to merge.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96117?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 22:36:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02567ae4-fbad-40b8-94a9-828a20cd1b34</guid><dc:creator>Butu</dc:creator><description>&lt;p&gt;Thank you very much! The example works very well. I want to combine ble_app_uart with light_control_client, additionaly I want to do for nRF 52840. I will use instruction from yours new post. Is it possible to do ? Or will it be easier for nRF 52832?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96114?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 16:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75323f94-fb3c-4fda-a9fb-6e55b8317b6d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Butu: an example for SDK v14.1 was posted &lt;a href="https://devzone.nordicsemi.com/question/175918/how-to-add-mesh-into-nrf5-sdk-v141-ble-application/?answer=175921#post-id-175921"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96123?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 13:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a27d53cc-3a27-4f61-8b9e-c2311146653c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I assume you use the example created by Rick? The example was made for Keil. You would need to port it to SES. The error you got most likely from the missing header file.&lt;/p&gt;
&lt;p&gt;Have you tested with the normal SDK example (in MESH SDK) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96122?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 12:17:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5822e2b-68e4-4f17-a25c-b2604d709219</guid><dc:creator>Butu</dc:creator><description>&lt;p&gt;Thank you for suggestion. I got 56 errors...Do you know what I do wrong?
Below I paste link to picture with errors.
&lt;a href="https://ibb.co/mOqF6R"&gt;link errors.jpg&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96124?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 10:26:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45d870ed-a193-48e0-8d0e-0057c1b45ad6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I assume you are using KEIL IDE ? You need to get a license to compile a project which is more than 32kB in size.&lt;/p&gt;
&lt;p&gt;I would suggest to use Segger Embedded Studio, as you can use it for free if you use Nordic chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96115?ContentTypeID=1</link><pubDate>Sat, 28 Oct 2017 23:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ae1feaa-9b17-4d02-bbd8-6aec6b0f3e26</guid><dc:creator>Butu</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I did according to the instruction, but I have 1 error. I do not know how can I do it.
My error:
&lt;strong&gt;._build\nrf52832_xxaa.axf: error: L6050U: The code size of this image (97840 bytes) exceeds the maximum allowed for this version of the linker.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Someone  knows how to fix it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96113?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 07:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50470463-b2bc-40f0-b2dd-39a06a31706e</guid><dc:creator>sara</dc:creator><description>&lt;p&gt;Hello ms3412amo, Thanks for your response, but my project still has some problems. I&amp;#39;ll open a new question about it, thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96111?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 03:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d484c381-27dc-478a-a967-23daf43a4a3f</guid><dc:creator>ms3412amo</dc:creator><description>&lt;p&gt;Yes,
there is a diffrence in sdk 0.9.1 and 0.9.2, this Keil project was with 0.9.1 and the Mesh_serial files are not the same. If you use 0.9.2 remove all Mesh_serial file and replace with those of 0.9.2, this is not just serial_handler.c replaced by serial_handler_app.c, replace all Mesh_serial files, or try with server node from 0.9.1, as this Keil client project is with 0.9.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96112?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 01:12:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84e63553-f902-46ca-b828-f6f242e9317d</guid><dc:creator>sara</dc:creator><description>&lt;p&gt;Hello ms3412amo, have you solved the problem? I also have the same question that using the example ant it runs well but no  LED ON/ OFF.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96110?ContentTypeID=1</link><pubDate>Sat, 23 Sep 2017 21:36:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3c304e8-8f92-4630-b977-0bb67eb6b50e</guid><dc:creator>ms3412amo</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m trying your solution, but it is not working fine. I erase/flash 3 server with the exemple from Segger, than I erase/flash client with your Keil project including Nordic UART service. Provisioning happens, I got configuration of device 0,1,2 from client&amp;#39;s RTT output. I see Nordic UART in nRF_Connect, I try sending &amp;#39;0&amp;#39;. In client&amp;#39;s RTT I see &amp;quot;access.c, 393, TX: [aop: 0x00C1]&amp;quot; 8 times and nothing else happens, no LED On and no &amp;quot;RX: [...]&amp;quot; from the server as with both client and server from SES exemple. It&amp;#39;s the same behavior sending 0 from RTT, I also see the TX log 8 times. I try changing the downward arrows in nRF_Connect, but same behavior.
Does anyone have a idea what I should check or try to make this working. I&amp;#39;m pretty sure it is not a big issue.
Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96120?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 08:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79b93435-ae98-4dc5-b76c-13db74396097</guid><dc:creator>Sourabh Barve</dc:creator><description>&lt;p&gt;Hi Rick. I disabled the setting (the one with 3 downward facing arrows) in front of TX characteristic in the Nordic UART Service, which changed the &amp;quot;Value&amp;quot; (in &amp;quot;Descriptors&amp;quot;) from 0x0000 to 0x0100. This solved the error 8 that I was receiving.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96119?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 07:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2f81d84-eda3-4803-9d74-07c19689e8a7</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Hello Sourabh Barve, would you please tell me what cause the notification failed in nRFconnect ? :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96121?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 04:27:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58d2f17c-63ac-49ae-9c66-f64a7a250fc6</guid><dc:creator>Sourabh Barve</dc:creator><description>&lt;p&gt;Thanks Rick. Your solution worked.
The error 8 (NRF_ERROR_INVALID_STATE) from the ble_nus_string_send function was because of a setting in the nRFConnect app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96125?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 11:16:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53bfdd4a-1e4e-44af-a38c-c235a0b454b6</guid><dc:creator>Sourabh Barve</dc:creator><description>&lt;p&gt;Hi Rick, thanks. The problem solved partially.
Now the mesh part works after client connects with phone. I can send commands to the server through client (through mesh).
But there is one problem. I&amp;#39;m still getting the error 8 (NRF_ERROR_INVALID_STATE) from the ble_nus_string_send function. Also when I disconnect the client from the phone, the client advertises weirdly (The name is changed to &amp;quot;N/A&amp;quot; (the MAC address is same), it advertises after long intervals (almost 10seconds)) and I cannot connect to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96118?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 05:24:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c5780e1-9bc7-4748-9c7c-090f12aaba95</guid><dc:creator>Sourabh Barve</dc:creator><description>&lt;p&gt;Hi Rick, thank you for the reply. But the solution you provided didn&amp;#39;t worked.
I have made one more observation: When I power only client and connect it with mobile, it connects successfully. But when I power the  server, even the provisioning doesn&amp;#39;t happen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh SDK along with peripheral mode.</title><link>https://devzone.nordicsemi.com/thread/96109?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 12:12:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66c8b1ee-3366-4d4e-8383-2468af01abc9</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Hello,
Have you ever check if softdevice_handler can dispatch the mesh event?
For me, I add the following line in intern_softdevice_events_execute(), which under softdevice_handler.c&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;while (sd_evt_get(&amp;amp;evt_id) == NRF_SUCCESS)
{
    nrf_mesh_on_sd_evt(evt_id);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I also update my main.c in the attachment.
And in my experience, if you moving all the mesh resource to nRF5x SDK workspace.
Please do not use the uECC resource inside the SDK12.1. Instead, please add the uECC.c and include eECC.h from mesh SDK.&lt;/p&gt;
&lt;p&gt;The Keil project (which is very rough) is also attached in the enclosure.&lt;/p&gt;
&lt;p&gt;To using nRFconnect the mesh light control client, please:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Unzip the mesh.7z, and place it under SDK12.1\components\&lt;/li&gt;
&lt;li&gt;Unzip the mesh_example.7z and place it under SDK12.1\examples\&lt;/li&gt;
&lt;li&gt;Open the Keil project in SDK12.1\examples\mesh_example\light_control\client\arm5_no_packs&lt;/li&gt;
&lt;li&gt;Compile and program it to nRF52-DK&lt;/li&gt;
&lt;li&gt;After provisioning with three light control server, please open nRFconnect or nRFTool box with UART control on mobile device	&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Write ‘0’ -&amp;gt; control LED1 on the light control server 0&lt;/li&gt;
&lt;li&gt;Write ‘1’ -&amp;gt; control LED1 on the light control server 1&lt;/li&gt;
&lt;li&gt;Write ‘2’ -&amp;gt; control LED1 on the light control server 2&lt;/li&gt;
&lt;li&gt;Write ‘3’ -&amp;gt; control LED1 on all the light control server&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hope this can help you.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/softdevice_5F00_handler.c"&gt;softdevice_handler.c&lt;/a&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2313.main.c"&gt;main.c&lt;/a&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mesh_5F00_example.7z"&gt;mesh.7z&lt;/a&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mesh.7z"&gt;mesh_example.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>