<?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>Bluetooth mesh data communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112117/bluetooth-mesh-data-communication</link><description>Hi, Currently, we are evaluating Bluetooth mesh technology for lighting control. We would like to develop a web server ( issue commands to node and store information ) and a mobile app (configure nodes). In order to issue commands from web server to node</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jun 2024 12:13:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112117/bluetooth-mesh-data-communication" /><item><title>RE: Bluetooth mesh data communication</title><link>https://devzone.nordicsemi.com/thread/489096?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 12:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b2ffc82-75b3-41e2-b6e0-3f2177ec8663</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi chunjie,&lt;/p&gt;
[quote user="chunjie"]I can provide you with more details. What&amp;nbsp;specific details are you seeking?[/quote]
&lt;p&gt;Details such as feature, traffic volumes, such kind of technical details. However, if we tread down this path, it became a public consulting conversation, which I am not sure is what we do here on DevZone.&lt;/p&gt;
[quote user="chunjie"]To decide whether use generic models or NLC models, is that the main difference between them is that NLC models support multi-vendor interoperability while generic models are not?[/quote]
&lt;p&gt;Please refer to Bluetooth SIG&amp;#39;s articles about NLC:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.bluetooth.com/blog/introducing-bluetooth-nlc-a-milestone-in-the-interoperability-journey/"&gt;Introducing Bluetooth NLC – A Milestone in the Interoperability JourneyBluetooth NLC：相互運用性実現への道のりに新たな節目 | Bluetooth&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt; Technology Website&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.bluetooth.com/learn-about-bluetooth/use-cases/lighting-control/"&gt;Bluetooth&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt; Networked Lighting Control | Bluetooth&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt; Technology Website&lt;/a&gt;&lt;/p&gt;
[quote user="chunjie"]How to print out the subscribe type message? Could you walk me through the process to do this?[/quote]
&lt;p&gt;Before we go down this path, why do you want to do this? The&amp;nbsp;APIs provided in the SDK is already sufficient that you don&amp;#39;t have to worry about this level of details.&lt;/p&gt;
&lt;p&gt;If you must, then look into the Mesh Protocol specification,&amp;nbsp;have a general grasp of&amp;nbsp;the layers in Bluetooth Mesh. Once you do, you can go into the corresponding files in the Mesh stack implementation and add&amp;nbsp;log or debug to see raw data. All of Mesh stack implementations are in zephyr/subsys/bluetooth/mesh.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh data communication</title><link>https://devzone.nordicsemi.com/thread/488940?ContentTypeID=1</link><pubDate>Sat, 15 Jun 2024 06:44:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46ec4499-36cd-41a4-a1b9-2dda757a7a35</guid><dc:creator>chunjie</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;br /&gt;&lt;br /&gt;Thanks for the reply.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/112117/bluetooth-mesh-data-communication/488923"]It is quite hard to give you recommendation without knowing a lot more details. I thought about it really hard but could only give you some generic information.[/quote]
&lt;p&gt;I can provide you with more details. What&amp;nbsp;specific details are you seeking?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/112117/bluetooth-mesh-data-communication/488923"]You can use either Generic OnOff, Generic Level Models, or NLC to realize a lighting solutions based on BLE Mesh. All of them works, and all of them are created with lighting solutions in mind.[/quote]
&lt;p&gt;To decide whether use generic models or NLC models, is that the main difference between them is that NLC models support multi-vendor interoperability while generic models are not?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/112117/bluetooth-mesh-data-communication/488923"]To find out what messages and data you need to send to the device, you would want to research on those models. &lt;br /&gt;The most detailed resource about those models is of course the Mesh Models specification: &lt;a href="https://www.bluetooth.com/specifications/specs/mesh-model-1-0-1/"&gt;https://www.bluetooth.com/specifications/specs/mesh-model-1-0-1/&lt;/a&gt;.&lt;br /&gt;You could also get&amp;nbsp;some hands-on experience with our Mesh samples:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/samples/mesh.html"&gt;Bluetooth Mesh samples (nordicsemi.com)&lt;/a&gt;[/quote]
&lt;p&gt;I have several units of nRF5340 DK and Thingy53 that I have been using to try out some sample programs. Now I am&amp;nbsp;trying to figure out how is the raw message look like. Looking into Bluetooth Mesh Light sample which implement Generic OnOff Server model, I print out the &amp;quot;&lt;span&gt;srv&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;pub_buf&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;data&lt;/span&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;i&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&amp;quot; in led_set function and get 0x820400. I then refer to&amp;nbsp;&lt;span&gt;Mesh Models specification:&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_06_2D00_15-141509.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_06_2D00_15-141605.png" /&gt;&lt;br /&gt;&lt;br /&gt;From my understanding, it is a publish type message (Generic OnOff Status). Overall, what I want to achieve here is get the full raw message that send from nRF mesh app to node to trigger actions. How to print out the subscribe type message? Could you walk me through the process to do this?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh data communication</title><link>https://devzone.nordicsemi.com/thread/488923?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 19:55:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b80b582b-a50e-4591-bfb5-46eae9b5f890</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi chunjie,&lt;/p&gt;
&lt;p&gt;It is quite hard to give you recommendation without knowing a lot more details. I thought about it really hard but could only give you some generic information.&lt;/p&gt;
&lt;p&gt;You can use either Generic OnOff, Generic Level Models, or NLC to realize a lighting solutions based on BLE Mesh. All of them works, and all of them are created with lighting solutions in mind.&lt;/p&gt;
&lt;p&gt;To find out what messages and data you need to send to the device, you would want to research on those models. &lt;br /&gt;The most detailed resource about those models is of course the Mesh Models specification: &lt;a href="https://www.bluetooth.com/specifications/specs/mesh-model-1-0-1/"&gt;https://www.bluetooth.com/specifications/specs/mesh-model-1-0-1/&lt;/a&gt;.&lt;br /&gt;You could also get&amp;nbsp;some hands-on experience with our Mesh samples:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/samples/mesh.html"&gt;Bluetooth Mesh samples (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Depends on your level of familiarity with mesh, you might want to&amp;nbsp;look at the guides on bluetooth.org:&amp;nbsp;&lt;br /&gt;&lt;a href="https://www.bluetooth.com/blog/an-intro-to-bluetooth-mesh-part1/"&gt;https://www.bluetooth.com/blog/an-intro-to-bluetooth-mesh-part1/&lt;br /&gt;https://www.bluetooth.com/bluetooth-resources/intro-to-bluetooth-mesh-part1/&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For web server,&amp;nbsp;you could take a look at our Cloud Services:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Cloud-services"&gt;https://www.nordicsemi.com/Products/Cloud-services&lt;/a&gt;.&lt;br /&gt;There are also cloud&amp;nbsp;samples in our SDK:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/external_comp/nrf_cloud.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/external_comp/nrf_cloud.html&lt;/a&gt;.&lt;br /&gt;You will be able to find samples on other cloud platforms as well.&lt;/p&gt;
&lt;p&gt;For mobile apps, we have some Bluetooth Mesh libraries for Android and iOS on our GitHub page:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor?q=mesh&amp;amp;type=all&amp;amp;language=&amp;amp;sort="&gt;https://github.com/NordicSemiconductor?q=mesh&amp;amp;type=all&amp;amp;language=&amp;amp;sort=&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You might also want to reach out to your local Nordic sales representative contact.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>