<?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 Chat</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121225/bluetooth-mesh-chat</link><description>Hello! 
 I’ve been learning about Bluetooth Mesh recently, and I’ve been testing the sample at nrf\samples\bluetooth\mesh\chat , but there are still some parts I don’t quite understand: 
 
 
 How is message scanning configured in this sample? Is it running</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 May 2025 00:46:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121225/bluetooth-mesh-chat" /><item><title>RE: Bluetooth Mesh Chat</title><link>https://devzone.nordicsemi.com/thread/534176?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 00:46:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd03a694-a1a4-416e-919e-daa1f8c71d52</guid><dc:creator>Allen23122452121</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Mesh Chat</title><link>https://devzone.nordicsemi.com/thread/534168?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 18:55:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49abef84-1912-44e5-85bb-37f703d7e5f0</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Allen23122452121,&lt;/p&gt;
[quote user=""]How is message scanning configured in this sample? Is it running at a 100% duty cycle? If not, how can it ensure that no messages are missed?[/quote]
&lt;p&gt;Message sending and receiving in the Chat Client Model is done no differently than in other BT Mesh models.&lt;/p&gt;
&lt;p&gt;Scanning and sending are done over the same radio, so it is not always 100% duty cycle. The radio would stop scanning when it has to send. However, it would&amp;nbsp;be receiving as much as possible when it doesn&amp;#39;t have anything to send.&lt;/p&gt;
&lt;p&gt;There are several acknowledgement mechanisms in the Mesh stacks to help with reliability. However, none of them is done in the Chat sample.&lt;/p&gt;
[quote user=""]What is the message forwarding logic between nodes? Is it based on flooding? Does each node forward all received messages within the TTL?[/quote]
&lt;p&gt;It is based on flooding, and each node forward messages based on TTL.&lt;/p&gt;
[quote user=""]I noticed that the following configurations are enabled: &lt;code&gt;CONFIG_BT_MESH_RELAY=y&lt;/code&gt; and &lt;code&gt;CONFIG_BT_MESH_FRIEND=y&lt;/code&gt;. How does a node determine which role it is playing? Is it a RELAY node? A FRIEND node? Or just a regular node?[/quote]
&lt;p&gt;The roles are configured by a Configuration Client in the mesh network.&lt;/p&gt;
&lt;p&gt;As your questions seem basic, may I recommend looking at some&amp;nbsp;resources for&amp;nbsp;the basics of Bluetooth Mesh, such as:&lt;br /&gt;&lt;a href="https://www.youtube.com/watch?v=OXzz1shWhvs"&gt;Introduction to Bluetooth Mesh - YouTube&lt;/a&gt;&lt;br /&gt;&lt;a href="https://www.bluetooth.com/bluetooth-mesh-primer/"&gt;The 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; Mesh Primer | 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;br /&gt;&lt;/a&gt;&lt;a href="https://www.bluetooth.com/bluetooth-resources/bluetooth-mesh-developer-study-guide/"&gt;An Introduction to Bluetooth Mesh Software Development | 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;a href="https://www.bluetooth.com/bluetooth-mesh-primer/"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>