I am testing web bluetooth API from chrome. I understood that web bluetooth API support for chrome and BLE devices. My device bluetooth version is 5.2 ,android version is 13 and I am using window 10. I thought that bluetooth 5.2 support BLE. I already enable in chrome flexs of web experimental. But, when I try with this code
let device = await navigator.bluetooth.requestDevice({
acceptAllDevices: true,
optionalServices: [ 0x180D ]
});
let server = await device.gatt.connect();
console.log(server);
let service = await server.getPrimaryService(0x180D);
console.log(service);
my pixel 7 phone's bluetooth name or device name does not appear in device list.
I already check my device from chrome internal.
chrome://bluetooth-internals/#devices
But, my phone bluetooth address does not appear.
What is wrong in my code? Is this the problem of Pixel 7 side or chrome side? Does pixel 7 support BLE?