network-api.txt
来自「这是Linux环境下的蓝牙源代码」· 文本 代码 · 共 39 行
TXT
39 行
BlueZ D-Bus Network API description***********************************Copyright (C) 2004-2008 Marcel Holtmann <marcel@holtmann.org>Network hierarchy=================Service org.bluezInterface org.bluez.NetworkObject path /{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XXMethods string Connect(string uuid) Connect to the network device and return the network device name. Examples of the device name are bnep0, bnep1 etc. Possible errors: org.bluez.Error.AlreadyConnected org.bluez.Error.ConnectionAttemptFailed void Disconnect() Disconnect from the network device. To abort a connection attempt in case of errors or timeouts in the client it is fine to call this method. Possible errors: org.bluez.Error.Failed bool IsConnected() Returns the connection status.Signals void Connected(string device, string uuid) void Disconnected(string device)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?