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

To advertise the Manufacturer and other details

Hi 

I am trying to add the Manufacturer Name and other version details while advertising the BLE Module.

I have tried to add the some of the function which are detailed online the advertising the Manufacturer and other version details.

Also gone through the "p_manuf_specific_data" structure to add the variables for the advertising after going through this link.

After adding below code in the "static void advertising_init(void)" from the link 

ble_advdata_manuf_data_t manuf_data; //Variable to hold manufacturer specific data
uint8_t data[] = "SomeData!"; //Our data to advertise
manuf_data.company_identifier = 0x0059; //Nordics company ID
manuf_data.data.p_data = data;
manuf_data.data.size = sizeof(data);
init.advdata.p_manuf_specific_data = &manuf_data;

It stops advertising I don't know why ?

Looking for the possible solutions ....

Thanks in advance   

Related