UNPKG

@tanislav000/bluez

Version:

Bluez5 D-Bus bindings for easy to use bluetooth access in Node.js

21 lines (20 loc) 576 B
import { Profile } from "./profile"; import { Device } from "./device"; export declare abstract class SerialProfile implements Profile { ProfileOptions: { Name: string; Role: string; PSM: number; }; UUID: string; /** * This method needs to be implemented * A communication socket should be established with new BluetoothSocket(fd) * @param device * @param fd * @param options */ abstract NewConnection(device: Device, fd: number, options: { [name: string]: any; }): void | Promise<void>; }