📄 serial-api.txt
字号:
BlueZ D-Bus Serial API description**********************************Copyright (C) 2004-2008 Marcel Holtmann <marcel@holtmann.org>Serial hierarchy================Service org.bluezInterface org.bluez.SerialObject path /{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XXMethods string Connect(string uuid) Connects to a specific RFCOMM based service on a remote device and then creates a RFCOMM TTY device for it. The RFCOMM TTY device is returned. Possible errors: org.bluez.Error.InvalidArguments org.bluez.Error.InProgress org.bluez.Error.ConnectionAttemptFailed org.bluez.Error.NotSupported void Disconnect(string device) Disconnect a RFCOMM TTY device that has been created by Connect method. To abort a connection attempt in case of errors or timeouts in the client it is fine to call this method. In that case the UUID of the Connect method should be suplied instead of the TTY device. Possible errors: org.bluez.Error.InvalidArguments org.bluez.Error.DoesNotExist
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -