Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

175
Views
Olvídese del dispositivo ya emparejado - web-bluetooth

Estoy trabajando en web-bluetooth para conectar una aplicación web con un dispositivo BLE. Ahora tengo las conexiones, estoy buscando cómo puedo desvincular un dispositivo.

He buscado en los documentos oficiales de web-bluetooth https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetooth-getdevices y no he encontrado mucho al respecto.

¿Alguien puede sugerir algo sobre esto?

Gracias

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

¡Qué casualidad! Actualmente estoy trabajando para agregar un nuevo método de forget() en BluetoothDevice para que los desarrolladores web puedan revocar el permiso de acceso a un BluetoothDevice emparejado.

 // Request a Bluetooth device. const device = await navigator.bluetooth.requestDevice({ acceptAllDevices: true }); // Then later... revoke permission to the Bluetooth device. await device.forget();
  • PR de especificaciones: https://github.com/WebBluetoothCG/web-bluetooth/pull/574
  • Cromo CL: https://bugs.chromium.org/p/chromium/issues/detail?id=1302328

Tenga en cuenta que esta funcionalidad experimental está actualmente disponible en Chrome 101 y requiere que los usuarios habiliten el chrome://flags/#enable-web-bluetooth-new-permissions-backend .

Puedes probar mi muestra en https://bluetoothdevice-forget.glitch.me/

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!