<?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>Send sensor data using Bluetooth Mesh SDK of nrf5</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98543/send-sensor-data-using-bluetooth-mesh-sdk-of-nrf5</link><description>I am working with the sensor model example of the SDK of &amp;quot;nRF5 for Mesh&amp;quot;. Now I am able to send data from the sensor module (I configured it as sensor server) to the client ? I would like to send the data from the sensor module direct to the sensor client</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Apr 2023 16:51:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98543/send-sensor-data-using-bluetooth-mesh-sdk-of-nrf5" /><item><title>RE: Send sensor data using Bluetooth Mesh SDK of nrf5</title><link>https://devzone.nordicsemi.com/thread/420575?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2023 16:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:710ccf79-20f6-41a6-a83f-4d0deee69843</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have looked into the issue that you see, and we can reproduce the behavior. The most likely cause is a bug in nRF Mesh for Android. We see this using that app, but not when using nRF Mesh for iOS. I have reported the issue to our mobile apps team.&lt;/p&gt;
&lt;p&gt;What we know about the nRF Mesh for Android bug at this time, is that the listing of enabled/disabled features in your first screenshot are not correct and not correctly updated. Also, the settings when pressing &amp;quot;SET RELAY&amp;quot; in your second screenshot are not reflecting the actual state of the connected node.&lt;/p&gt;
&lt;p&gt;What this means for you and your node, is that the node has the relay feature enabled, even though this is not visible in the nRF Mesh for Android app.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send sensor data using Bluetooth Mesh SDK of nrf5</title><link>https://devzone.nordicsemi.com/thread/420330?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 16:24:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01a7de2b-4bec-4ef0-8f7c-8d2f9e303d57</guid><dc:creator>NguyenDinhBien</dc:creator><description>&lt;p&gt;&amp;nbsp;I did the same you guide. My app show as this&amp;nbsp;&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/340797262_5F00_189706337202010_5F00_3991898968091841509_5F00_n.jpg" /&gt;&amp;nbsp;&amp;nbsp;&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/340816580_5F00_949483329735043_5F00_5242623656050442406_5F00_n.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Can you take me advice about it?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send sensor data using Bluetooth Mesh SDK of nrf5</title><link>https://devzone.nordicsemi.com/thread/420200?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 11:08:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4039787d-7039-4db4-bc36-4314318b0b0e</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does the &amp;quot;SET RELAY&amp;quot; button work, for giving a dialogue with the switch to turn on/off the relay feature of the node?&lt;/p&gt;
&lt;p&gt;Sometimes, the nRF Mesh app has not yet read the current configuration of the device. This might happen for several reasons. You can get the nRF Mesh app to read the configuration by swiping down, in the &amp;quot;configuration server&amp;quot; view.&amp;nbsp; (That is, in the view where there is a &amp;quot;SET RELAY&amp;quot; button.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send sensor data using Bluetooth Mesh SDK of nrf5</title><link>https://devzone.nordicsemi.com/thread/420109?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 07:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b418470-e0a9-4c21-baaa-93c6cce74286</guid><dc:creator>NguyenDinhBien</dc:creator><description>&lt;p&gt;Thanks you for supporting. I have done everything you guided, but my app still shows &amp;quot;RELAY FEATURE disabled&amp;quot;. i am confused, i don&amp;#39;t know that i get a fault somewhere.&amp;nbsp;&lt;/p&gt;
&lt;div id="eJOY__extension_root" class="eJOY__extension_root_class"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send sensor data using Bluetooth Mesh SDK of nrf5</title><link>https://devzone.nordicsemi.com/thread/419989?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2023 13:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5a28ddf-8563-4117-af83-75a63e7384f4</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The terminology in this area is a bit difficult. You do not need to do anything in order to provide the node with the relay feature. This is because the relay feature is enabled by default. If you want to REMOVE the relay feature from the node, then you must use the macro (and set it to 0).&lt;/p&gt;
&lt;p&gt;When you see in the app that the feature is disabled, it means the node has support for the Relay feature, but that feature is not currently active. Depending on the application, you may have application code that turns the relay feature on or off, and therefore overrides the default setting. You should be able to override this from the nRF Mesh app, by enabling Relay manually.&lt;/p&gt;
&lt;p&gt;In the nRF Mesh app, select the node, then on the first element select the Configuration Server model, then use the SET RELAY button. This opens a dialogue where you can disable or enable Relay, as well as set relay related configurations. If the Relay switch is turned to the right and appears blue, then the Relay feature will be enabled when you select OK. If the switch is turned to the left and appears gray, then the Relay feature will be disabled when you select OK.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send sensor data using Bluetooth Mesh SDK of nrf5</title><link>https://devzone.nordicsemi.com/thread/419807?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 17:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51291201-4d84-4a64-bf17-eb1238cb4e47</guid><dc:creator>NguyenDinhBien</dc:creator><description>&lt;p&gt;thank you tesc! I made the same you said (2), when i give a node disable relay node by #define MESH_FEATURE_RELAY_ENABLE (0) in&amp;nbsp;&lt;span&gt;nrf_mesh_config_app.h then this node show in app that relay feature unsupported. But when i give a node enable relay feature, in app show that relay feature disabled. When i send a data to client (out of range with server node) thru relay node, in the relay node doesn&amp;#39;t log in the RTT. So can you explain it for me?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div id="eJOY__extension_root" class="eJOY__extension_root_class"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send sensor data using Bluetooth Mesh SDK of nrf5</title><link>https://devzone.nordicsemi.com/thread/419721?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 13:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f145389d-b3d8-4716-a53b-77c4ae7d52d6</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. Yes, the implementation involves calling sensor_status_publish(). It also involves implementing a callback function for getting the sensor value. This callback function is implemented on line 182 of main.c of the sensor example in nRF5 SDK for Mesh v5.0.0, with the name app_sensor_get_cb(). The callback is registered for the sensor server model in the macro APP_SENSOR_SERVER_DEF used for creating the sensor server instance, lines 161 to 176 in the same main.c file. This callback function is where you must provide the value that should be sent. I recommend using the sensor example for starting point (or reference) for your project.&lt;/p&gt;
&lt;p&gt;2. The relay feature is enabled by default (in mesh/core/api/nrf_mesh_config_core.h,) but you can override that in the configuration file for the app (nrf_mesh_config_app.h) if you want to disable the relay feature. For that, &lt;code&gt;#define MESH_FEATURE_RELAY_ENABLED (0)&lt;/code&gt;. You should not set this in main.c, because then the setting will only apply for main.c and not for any of the c files in the stack itself. Therefore nrf_mesh_config_app.h is the correct place for this configuration.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>