<?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 control the custom model with nRF-Mesh-Library ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36756/how-to-control-the-custom-model-with-nrf-mesh-library</link><description>Refer to this post ， I did the same job to change simple_on_off model into generic OnOff Model , and I could control the LED state with nRF Mesh application as well. 
 I have saw the source code for “ nRF Mesh ”( Android-nRF-Mesh-Library ), and I got</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Jul 2018 06:48:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36756/how-to-control-the-custom-model-with-nrf-mesh-library" /><item><title>RE: How to control the custom model with nRF-Mesh-Library ?</title><link>https://devzone.nordicsemi.com/thread/141080?ContentTypeID=1</link><pubDate>Tue, 24 Jul 2018 06:48:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cffa870-6697-408b-8f68-d209bf507819</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Bomin,&lt;/p&gt;
&lt;p&gt;The sendGenericOnoff function is &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library/blob/master/Example/nrf-mesh/app/src/main/java/no/nordicsemi/android/nrfmeshprovisioner/viewmodels/ModelConfigurationViewModel.java"&gt;described here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently, only the Generic OnOff model is supported in the nRF Mesh app. If you want to support any other SIG models, you will need to modify the code to this model.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=XthbU9NP0Yg&amp;amp;t=157s"&gt;This Youtube video&lt;/a&gt; might be helpful, as well as the &lt;a href="https://github.com/NordicPlayground/thingy52-mesh-provisioning-demo"&gt;source code for the Thingy:52&lt;/a&gt; for seeing how the Generic OnOff model is applied there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>