/**
* Gets or sets the manufacturer specific data that will be advertised.
*Each item in the map should have a positive int number as the key and an array of bytes as the value.
*/
public void setManufacturerData(Map Map) {
manufacturerData.setObject(Map.getObject());
}
public Map getManufacturerData() {
return manufacturerData;
}
So what happens when you declare something like this: Private peripheral As BlePeripheral2
and then use peripheral.ManufacturerData =
with the Map of your manufacturer data.
I haven't used this library so can't help you anymore. Have a look there https://www.b4x.com/android/forum/threads/ble-peripheral-as-ibeacon.105601/#post-661465,
or do a search for "ManufacturerData.