I resolved my issue my updating and rereleasing Erels original library bleperipheral2 library, link below...
I'm trying to change the main GATT Service UUID in BlePeripheral2.java below.
Every time I change the UUIS from
to for example
the GATT service app runs perfectly fine but the GATT service UUID is not visible to other devices.
It appears that all I can change is the 'shortName', if I change anything else like the whole UUID (which I have to change and set manually), the GATT service UUID is not visible to other devices.
I don't really do Java, so any help would be appreciated.
Thank you.
Peter...
Customise your BLE GATT Service with BLE Peripheral 2 Enhanced
Hello All, First I want to say thank you to the B4X developers that reached out to me via PM and to others that I spoke to, you all know who you are ? As you are all well aware I personally do not touch Java, I only started learning java so that I could enhance Erel's current BlePeripheral2...
www.b4x.com
Every time I change the UUIS from
return UUID.fromString("0000" + shortName + "-0000-1000-8000-00805f9b34fb");
return UUID.fromString("2fdb0461-0461-4216-9fde-2c318f1866ed");
It appears that all I can change is the 'shortName', if I change anything else like the whole UUID (which I have to change and set manually), the GATT service UUID is not visible to other devices.
I don't really do Java, so any help would be appreciated.
Thank you.
Peter...
Last edited: