mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2026-03-19 18:40:14 +08:00
Remove direct dependency on webbluetooth types
This commit is contained in:
@@ -23,16 +23,8 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
import { Bluetooth, BluetoothDevice } from "webbluetooth";
|
||||
import { BluetoothRemoteGATTCharacteristic } from "webbluetooth";
|
||||
import { EventDispatcher } from "./dispatcher";
|
||||
|
||||
declare global {
|
||||
interface Navigator {
|
||||
bluetooth: any;
|
||||
}
|
||||
}
|
||||
|
||||
const CONTROL_UUID = "8ec90001-f315-4f60-9fb8-838830daea50";
|
||||
const PACKET_UUID = "8ec90002-f315-4f60-9fb8-838830daea50";
|
||||
const BUTTON_UUID = "8ec90003-f315-4f60-9fb8-838830daea50";
|
||||
|
||||
Reference in New Issue
Block a user