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

Add Manufacturer Data

Dear Nordic Team,

Thanks for supporting.

If any possible to add manufacturer data in example experimental_ble_app_blinky in advertisement. i am using SDk11 and my hardware is PCA10028. Please support.

Parents
  • Murugan. I tried adding manufacturer data to the ble_app_blinky example in SDK 11, and it seems to be quite straight forward.

    in advertising_init(void) i added:

    ble_advdata_manuf_data_t 		  adv_manuf_data;
    uint8_t 		                  adv_manuf_data_data[] = "Data";
    	
    adv_manuf_data.data.p_data        = adv_manuf_data_data;
    adv_manuf_data.data.size          = sizeof(adv_manuf_data_data);
    adv_manuf_data.company_identifier = 0x0059; //Nordic's company ID
    advdata.p_manuf_specific_data     = &adv_manuf_data;
    

    And it seems to be working just fine.
    The 16-bit company ID (0x0059), is a unique 16-bit value assigned to Bluetooth SIG members. It is not allowed to broadcast a custom company ID value without being a member.

Reply
  • Murugan. I tried adding manufacturer data to the ble_app_blinky example in SDK 11, and it seems to be quite straight forward.

    in advertising_init(void) i added:

    ble_advdata_manuf_data_t 		  adv_manuf_data;
    uint8_t 		                  adv_manuf_data_data[] = "Data";
    	
    adv_manuf_data.data.p_data        = adv_manuf_data_data;
    adv_manuf_data.data.size          = sizeof(adv_manuf_data_data);
    adv_manuf_data.company_identifier = 0x0059; //Nordic's company ID
    advdata.p_manuf_specific_data     = &adv_manuf_data;
    

    And it seems to be working just fine.
    The 16-bit company ID (0x0059), is a unique 16-bit value assigned to Bluetooth SIG members. It is not allowed to broadcast a custom company ID value without being a member.

Children
Related