<?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 Model for user data transfer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73279/ble-mesh-model-for-user-data-transfer</link><description>Hi Nordic team, 
 We have planned to use nRF5340 based BLE mesh device which is interface with sensor 
 We would like to transfer customized user data from one node to another node at different location via BLE mesh network. 
 Shall we use Generic On</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Apr 2021 14:04:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73279/ble-mesh-model-for-user-data-transfer" /><item><title>RE: BLE Mesh Model for user data transfer</title><link>https://devzone.nordicsemi.com/thread/304051?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 14:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb2f190d-feee-4b08-b6a9-8478fcc463c3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Selvam,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The particular chat example use the SHELL module to handle UART communication to allow chat experience.&amp;nbsp;&lt;br /&gt;If you want to send your own data without any UART you would need to have a look at the model_hanlder.c and see how the message is send and received.&amp;nbsp;&lt;br /&gt;For example calling function&amp;nbsp;cmd_message() will send a message on the chat client&amp;nbsp; (bt_mesh_chat_cli_message_send() )&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When there is a message arrived, the&amp;nbsp;handle_message() function in chat_cli.c will call&amp;nbsp;chat-&amp;gt;handlers-&amp;gt;message(chat, ctx, msg) which is the&amp;nbsp;handle_chat_message() function in model_handler.c to print out the message.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that this is just an example, you can just use this chat_cli.c model as a&amp;nbsp;refering source and build your own client or server. Please follow the guide &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bt_mesh_vendor_model.html#ug-bt-mesh-vendor-model"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh Model for user data transfer</title><link>https://devzone.nordicsemi.com/thread/303821?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 14:22:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ca8639f-a7ed-4403-bd27-56c5796cb70c</guid><dc:creator>selvam</dc:creator><description>&lt;p&gt;&lt;span&gt;No problem&amp;nbsp;&lt;/span&gt;Hung Bui,&lt;/p&gt;
&lt;p&gt;Hope you enjoyed the Easter Vacation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BTW, By configuring &amp;quot;CONFIG_BT_TINYCRYPT_ECC=y&amp;quot; able to do communication between nRF5340 DK boards through UART shell.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It looks like TX and RX thread of Zephyr expecting the data from Shell and then do the BLE data handle.&lt;/p&gt;
&lt;p&gt;But the need is to transfer the own data between two nRF5340 boards without shell typing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please guide us to transfer the data without using shell.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Selvam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh Model for user data transfer</title><link>https://devzone.nordicsemi.com/thread/303073?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 09:52:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0f23c80-5e2d-4443-8ebf-759314a5462c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Selvam,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for late response. We had Easter vacation last week.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The log showed that there was an issue with the HCI interface. Could be an issue with the image on the netcore. Please made sure that it&amp;#39;s the Zephyr controller used, not the Nordic&amp;#39;s one. It&amp;#39;s described &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_ble_controller.html"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have you managed to run other mesh examples ? For example the light_switch sample?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh Model for user data transfer</title><link>https://devzone.nordicsemi.com/thread/302246?ContentTypeID=1</link><pubDate>Sat, 27 Mar 2021 15:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37d73daf-02f4-4430-b28b-8431e972cd13</guid><dc:creator>selvam</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;While loading the &lt;strong&gt;sample chat as below steps&lt;/strong&gt;,&lt;/p&gt;
&lt;p&gt;1. Connect nRF5340 DK and Load&amp;nbsp;merged_CPUNET.hex through &amp;quot;nRF connect Programmer&amp;quot;&lt;/p&gt;
&lt;p&gt;Close device in &amp;quot;&lt;span&gt;&amp;quot;nRF connect Programmer&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2. In &amp;quot;Segger Embedded Studio&amp;quot;, Connect J link and Click &amp;quot;Build and Debug&amp;quot; option.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;we are getting the below fail message in putty and there is no device name in &amp;quot;nRF mesh&amp;quot; mobile app&lt;/p&gt;
&lt;p&gt;uart:~$ I: HW Platform: Nordic Semiconductor (0x0002)&lt;br /&gt;I: HW Variant: nRF53x (0x0003)&lt;br /&gt;I: Firmware: Standard Bluetooth controller (0x00) Version 229.40135 Build 486576601&lt;br /&gt;I: No ID address. App must call settings_load()&lt;br /&gt;Bluetooth initialized&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; Bluetooth Mesh Chat sample &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;uart:~$ W: ECC HCI commands not available&lt;br /&gt;E: Failed to generate public key (-35)&lt;br /&gt;Initializing mesh failed (err -35)&lt;/p&gt;
&lt;p&gt;Please guide , is any steps we missed ?&lt;/p&gt;
&lt;p&gt;It will helpful to proceed.&lt;/p&gt;
&lt;p&gt;Thanks in Advance.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Selvam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh Model for user data transfer</title><link>https://devzone.nordicsemi.com/thread/302215?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 17:29:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:822e2564-fc49-4fc6-82d1-70fd51fe4679</guid><dc:creator>selvam</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Thanks for the inputs on selecting BLE mesh model.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We will refer the given example and follow the testing procedure as per in the link&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/samples/bluetooth/mesh/chat/README.html"&gt;Bluetooth: Mesh chat &amp;mdash; nRF Connect SDK 1.5.0 documentation (nordicsemi.com)&lt;/a&gt;..&lt;/p&gt;
&lt;p&gt;We will revert back once we tried .&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Selvam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh Model for user data transfer</title><link>https://devzone.nordicsemi.com/thread/302139?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 13:12:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6931ec9-1f4a-4df2-b4e2-98f166b68232</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Selvam,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are planning to transmit customized data, I would suggest to create your own model instead of using the Generic on/off model. The generic model from Bluetooth SIG is defined in the spec and can&amp;#39;t be modified as your need.&amp;nbsp;&lt;br /&gt;Note that when you define your own model, you need to follow the spec and tie your model to your company ID. Please check the bluetooth mesh spec on this.&amp;nbsp;&lt;br /&gt;An example that you can have a look is the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/mesh/chat/README.html"&gt;\nrf\samples\bluetooth\mesh\cha&lt;/a&gt;t in the NCS SDK v1.5.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the example we defined a vendor specific model for sending chat&amp;nbsp;message&amp;nbsp;between nodes. In the implementation we use chat clients on all node, but if you want client-server communication, you can also define your server model based on how we define the client.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>