<?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>May I Add a new custom opcode whithout creating a new modle?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51390/may-i-add-a-new-custom-opcode-whithout-creating-a-new-modle</link><description>Dear support team, 
 
 I&amp;#39;m using the demo ( thingy52-mesh-provisioning-demo). 
 I want to create an opcode hadler to enable/disable proxy service. 
 So that I can send messge to enable/disable proxy service. 
 May I just add an opcode and hadler in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Aug 2019 13:17:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51390/may-i-add-a-new-custom-opcode-whithout-creating-a-new-modle" /><item><title>RE: May I Add a new custom opcode whithout creating a new modle?</title><link>https://devzone.nordicsemi.com/thread/206890?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 13:17:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909e1009-9b33-46ed-a279-7914ef4317f4</guid><dc:creator>Jeffery.Lin</dc:creator><description>&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;But I still feel confused. I found a method called proxy_enable() and proxy_disable()&lt;/p&gt;
&lt;p&gt;It seems using these can disable/enable proxy. But I don&amp;#39;t know how to add these function to the configuration server/client.&lt;/p&gt;
&lt;p&gt;My purpose is to enable/disable proxy function on my phone which is proxy client by sending the GATT message to one of the mesh nodes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;May I create a new opcode like &lt;span&gt;Generic OnOff Set(0x8202)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If so is there any rule to create a new opcode handler?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks in advance.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: May I Add a new custom opcode whithout creating a new modle?</title><link>https://devzone.nordicsemi.com/thread/206841?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 11:23:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea7254a2-2ae3-4afa-8980-1bf1dd934d9f</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t need to create a new model to enable/disable proxy.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s possible to turn off and on proxy using the configuration server/client. You should find an option to turn off and on the Proxy role of the node in configuration panel.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>