diff --git a/public/index.html b/public/index.html index fc281e3..b3028bb 100644 --- a/public/index.html +++ b/public/index.html @@ -953,26 +953,62 @@ - - try { - const device = await navigator.bluetooth.requestDevice({ - acceptAllDevices: true - }); - alert(`🔗 Dispositivo pareado: ${device.name || 'Sem nome'}`); - // Aqui você pode iniciar conexão GATT e enviar info - } catch (error) { - console.error("Erro ao conectar:", error); - alert("❌ Conexão cancelada ou falhou."); - } - }); -