<?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>BLE Mesh - Company ID confusion</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73532/ble-mesh---company-id-confusion</link><description>Hi 
 I want to change the advertising Company ID from Nordic to something equal to the Company ID used in one of my vendor models. 
 In previous topics some people say it is not possible, some people say: add define APP_COMPANY_IDENTIFIER in main.c (which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Apr 2021 12:59:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73532/ble-mesh---company-id-confusion" /><item><title>RE: BLE Mesh - Company ID confusion</title><link>https://devzone.nordicsemi.com/thread/303525?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 12:59:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76012eb8-dfb4-4c93-8fd4-adb27bf6bf0e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Frank,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you planning to advertise as a normal BLE nodes or as a mesh proxy node ?&amp;nbsp;&lt;br /&gt;You can add the manufacturer data in the advertising packet.&lt;/p&gt;
&lt;p&gt;For proxy advertising packet you may want to look at this function&amp;nbsp;adv_data_set() inside proxy.c&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you plan to advertise as a normal BLE node, please take a look at the&amp;nbsp;sdk_coexist examples . In these examples we advertise as a normal BLE node and at the same time being a mesh node.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the manufacturer data, please have a look at the&amp;nbsp;advertising_init() function inside main.c in ble_app_pwr_profiling example in nRF5 SDK. In that example we advertise manufacturer data with Nordic company ID, you can easy change that to what you need.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh - Company ID confusion</title><link>https://devzone.nordicsemi.com/thread/303274?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 16:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64897e6a-4414-46d1-8805-b4394148e0c3</guid><dc:creator>ff_ff</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;I mean the&amp;nbsp;&lt;span&gt;manufacturer data in the advertising package.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We have an app build, scanning on ST advertised BLE nodes. I want to make this nodes &amp;quot;identical&amp;quot; by changing this advertising name from Nordic to ST as well (if possible). The vendor model is already identical.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh - Company ID confusion</title><link>https://devzone.nordicsemi.com/thread/303269?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 16:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2efb07f2-571e-42d2-b90a-25e54b6ed8e5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Frank,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you explain what exactly you want to use your own Company ID for ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is it for your own vendor defined model ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Or it&amp;#39;s for your manufacturer data in the advertising package ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s for your vendor specific model, I would suggest having a look at our&amp;nbsp;\models\vendor\simple_on_off\ example.&amp;nbsp;&lt;br /&gt;In simple_on_off_common.h you can find&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#define SIMPLE_ON_OFF_COMPANY_ID&amp;nbsp; &amp;nbsp; (ACCESS_COMPANY_ID_NORDIC)&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ACCESS_COMPANY_ID_NORDIC = 0x0059.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And&amp;nbsp;SIMPLE_ON_OFF_COMPANY_ID&amp;nbsp; &amp;nbsp;&amp;nbsp;will be used inside simple_on_off_client.c and simple_on_off_server.c when declaring the opcode(s). AFAIK that&amp;#39;s the only place in mesh that you need to use company ID.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>