Optional
bluetooth
bluetooth?: BluetoothImpl
Optional
Buffer
Buffer?: typeof Buffer
ctrlChar
ctrlChar: null | BluetoothRemoteGATTCharacteristic = null
device
device: null | BluetoothDevice = null
emitErr
emitErr: (err: Error) => void name
name: string = 'adapter'
packtChar
packtChar: null | BluetoothRemoteGATTCharacteristic = null
port
port: | null | { dfuWriteObject?: (buf: Buffer, mtu?: number) => Promise<void>; isDfu?: () => boolean; isOpen?: () => boolean; readable: null | ReadableStream<Buffer>; writable: null | WritableStream<Buffer>; } = null rxChar
rxChar: null | BluetoothRemoteGATTCharacteristic = 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>