This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE Mesh - Company ID confusion

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 doesn't work).

So far no luck, it seems to me that it's part of the softdevice.

Can someone who's absolutely sure please explain whether this is possible or not  :)

Parents
  • Hi Frank, 

    Could you explain what exactly you want to use your own Company ID for ? 

    Is it for your own vendor defined model ? 

    Or it's for your manufacturer data in the advertising package ? 

    If it's for your vendor specific model, I would suggest having a look at our \models\vendor\simple_on_off\ example. 
    In simple_on_off_common.h you can find 

    #define SIMPLE_ON_OFF_COMPANY_ID    (ACCESS_COMPANY_ID_NORDIC)  

    ACCESS_COMPANY_ID_NORDIC = 0x0059.

    And SIMPLE_ON_OFF_COMPANY_ID    will be used inside simple_on_off_client.c and simple_on_off_server.c when declaring the opcode(s). AFAIK that's the only place in mesh that you need to use company ID. 

  • Hi Hung Bui,

    I mean the manufacturer data in the advertising package.

    We have an app build, scanning on ST advertised BLE nodes. I want to make this nodes "identical" by changing this advertising name from Nordic to ST as well (if possible). The vendor model is already identical.

  • Hi Frank, 

    Are you planning to advertise as a normal BLE nodes or as a mesh proxy node ? 
    You can add the manufacturer data in the advertising packet.

    For proxy advertising packet you may want to look at this function adv_data_set() inside proxy.c 

    If you plan to advertise as a normal BLE node, please take a look at the sdk_coexist examples . In these examples we advertise as a normal BLE node and at the same time being a mesh node. 

    Regarding the manufacturer data, please have a look at the 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. 

Reply
  • Hi Frank, 

    Are you planning to advertise as a normal BLE nodes or as a mesh proxy node ? 
    You can add the manufacturer data in the advertising packet.

    For proxy advertising packet you may want to look at this function adv_data_set() inside proxy.c 

    If you plan to advertise as a normal BLE node, please take a look at the sdk_coexist examples . In these examples we advertise as a normal BLE node and at the same time being a mesh node. 

    Regarding the manufacturer data, please have a look at the 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. 

Children
No Data
Related