I would like to discover all the GATT services a Bluetooth LE device my mobile app has connected to "contains". I cannot see the API which would allow me to do this. The uuids property of BluetoothLEDevice seems to contain only UUIDs which were included in the advertising packet. I need *all* services the device profile includes. This is a standard procedure when working with Bluetooth LE devices.
Thanks
function onConnected() {
console.log("Connected to device");
// NB at this point all we have are the UUIDs included in the ADV packet.
var uuids = selected_device.uuids;
var services = "";
for (var i = 0; i < uuids.length; i++) {
services += uuids[i] + "\n";
}
console.log ("Service found: " + services);
}