Hi,all!
I am programing an android ble app.And I have successfully connected to my device and get my own service(uuid:0x1600),and the characteristic in it(uuid:0x1601).
But the problem is, I modified my own service uuid from 0x1600 to 0x1500, but my APP still find the service's uuid is 0x1600.By the way,I am pretty sure the service's uuid has changed to 0x1500 because I tested it with Master Concrol Panel.
And my code is:
BluetoothGatt mBluetoothGatt;
List<BluetoothGattService> gattServices;
...
gattServices=mBluetoothGatt.getServices();
for (BluetoothGattService gattService : gattServices){
service_uuid = gattService.getUuid().toString();
}
Can someone explain this for me,thank you very much!