UNPKG

@tanislav000/bluez

Version:

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

17 lines (16 loc) 617 B
import * as DBus from "dbus-next"; /** * Service: org.bluez * ObjectPath: /org/bluez/hci0 * Interface: org.bluez.NetworkServer1 */ export declare class OrgBluezNetworkServer1 { static readonly DbusInterfaceName = "org.bluez.NetworkServer1"; dbusObject: DBus.ProxyObject; thisDBusInterface: DBus.ClientInterface; static Connect(bus: DBus.MessageBus, objectPath?: string, xml?: string): Promise<OrgBluezNetworkServer1>; constructor(dbusObject: DBus.ProxyObject); /***** Methods *****/ Register(uuid: string, bridge: string): Promise<void>; Unregister(uuid: string): Promise<void>; }