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

Problem reading "Manufacturer Data"

Hi,

I am using "BLE-Gateway" example from nRF51-ble-bcast-mesh to advertise my custom "Manufacturer Data" from 1 nRF51422 device to another nRF51422.

I've made the following changes in nrf_adv_conn.c to insert my custom Manufacturer Data:

// Variables used for manufacturer specific data

ble_advdata_manuf_data_t adv_manuf_data;

uint8_array_t adv_manuf_data_array;

uint8_t adv_manuf_data_data[2], checking_advData1, checking_advData2;

// Configuration of manufacturer specific data

adv_manuf_data_data[0] = 0xAA;

adv_manuf_data_data[1] = 0xBB;

adv_manuf_data_array.p_data = adv_manuf_data_data;

adv_manuf_data_array.size = sizeof(adv_manuf_data_data);

adv_manuf_data.company_identifier = 0xFF00;

adv_manuf_data.data = adv_manuf_data_array;

ble_adv_data.p_manuf_specific_data = &adv_manuf_data;

After making the above changes, I've flashed it (BLE-Gateway-SDK7) on to my 1st nRF51422. I've flashed my 2nd nRF51422 with "another" BLE-Gateway-SDK7 (in which I haven't made any changes). Now, what changes should I make, so that my custom Manufacturer Data that I've inserted into my 1st BLE-Gateway (or, 1st nRF51422) can be read/reflected by the 2nd BLE-Gateway (or, 2nd nRF51422)?

Related