Optionalbluetooth
bluetooth?: BluetoothImpl
OptionalBuffer
Buffer?: typeof Buffer
ctrlChar
ctrlChar: BluetoothRemoteGATTCharacteristic | null = null
device
device: BluetoothDevice | null = null
emitErr
emitErr: (err: Error) => void name
name: string = 'adapter'
packtChar
packtChar: BluetoothRemoteGATTCharacteristic | null = null
port
port: | { dfuWriteObject?: (buf: Buffer, mtu?: number) => Promise<void>; isDfu?: () => boolean; isOpen?: () => boolean; readable: ReadableStream<Buffer> | null; writable: WritableStream<Buffer> | null; } | null = null rxChar
rxChar: BluetoothRemoteGATTCharacteristic | null = null
TransformStream: new <I = any, O = any>(
transformer?: Transformer<I, O>,
writableStrategy?: QueuingStrategy<I>,
readableStrategy?: QueuingStrategy<O>,
) => TransformStream<I, O>
WritableStream
WritableStream: new <W = any>(
underlyingSink?: UnderlyingSink<W>,
strategy?: QueuingStrategy<W>,
) => WritableStream<W>