<?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>How to start a mesh project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69295/how-to-start-a-mesh-project</link><description>I have an application scenario where a client can communicate with more than 30 nodes in both directions. Which demo should I refer to?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Dec 2020 03:01:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69295/how-to-start-a-mesh-project" /><item><title>RE: How to start a mesh project</title><link>https://devzone.nordicsemi.com/thread/285486?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 03:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d487cd22-6bb2-421c-9525-c4ef76850996</guid><dc:creator>ching</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for replying，I have completed this function with the Simple OnOff model&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;ching&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to start a mesh project</title><link>https://devzone.nordicsemi.com/thread/285418?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 15:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdca7d3a-1404-45d3-befb-181984fe5ce9</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. Instead of starting from the Generic OnOff model, which is a model specified by the Bluetooth SIG, it may be better to start off with the &amp;quot;Simple OnOff model&amp;quot; from our SDK. We have a &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_models_vendor_simple_on_off_README.html"&gt;thorough walkthrough&lt;/a&gt; on how this model works and how it is made.&lt;/p&gt;
&lt;p&gt;Once you understand how the Simple OnOff model works, and how the messages are mapped, then you can switch over to sending other information (as other structures), and handle them appropriately in both ends.&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: How to start a mesh project</title><link>https://devzone.nordicsemi.com/thread/284139?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 15:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d689cb3-c3d0-4f95-959e-c8e2108fcce8</guid><dc:creator>ching</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Terje,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your answer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/** Parameters for the Generic OnOff Status message. */
typedef struct
{
    uint8_t present_on_off;                                 /**&amp;lt; The present value of the Generic OnOff state */
    uint8_t target_on_off;                                  /**&amp;lt; The target value of the Generic OnOff state (optional) */
    uint32_t remaining_time_ms;                             /**&amp;lt; Remaining time value in milliseconds */
} generic_onoff_status_params_t;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can I modify this structure to achieve my purpose of transmitting data?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For example, change to the following code&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/** Parameters for the Generic OnOff Status message. */
typedef struct
{
    uint8_t present_on_off;                                 /**&amp;lt; The present value of the Generic OnOff state */
    uint8_t* additional;
    uint8_t target_on_off;                                  /**&amp;lt; The target value of the Generic OnOff state (optional) */
    uint32_t remaining_time_ms;                             /**&amp;lt; Remaining time value in milliseconds */
} generic_onoff_status_params_t;
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to start a mesh project</title><link>https://devzone.nordicsemi.com/thread/284108?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 14:19:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08d3bef4-e66e-451e-af6f-a8a6930caf9f</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The main example in the nRF5 SDK for Mesh is the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_examples_light_switch_README.html"&gt;Light switch example&lt;/a&gt;, which showcases a client communicating with n servers.&lt;/p&gt;
&lt;p&gt;Depending on the information you want to communicate, you probably need to switch from using the generic on/off models to using a different model, maybe &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_doc_user_guide_modules_models_creating.html"&gt;creating your own&lt;/a&gt;.&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>