.\" Man page generated from reStructuredText .\" by the Docutils 0.22.3 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "org.bluez.Network" "5" "October 2023" "BlueZ" "Linux System Administration" .SH Name org.bluez.Network \- BlueZ D-Bus Network API documentation .SH Interface .INDENT 0.0 .TP .B Service org.bluez .TP .B Interface org.bluez.Network1 .TP .B Object path [variable prefix]/{hci0,hci1,...}/dev_{BDADDR} .UNINDENT .SS Methods .SS string Connect(string uuid) .sp Connects to the network device and return the network interface name. .sp Possible uuid values: .INDENT 0.0 .TP .B \(dqpanu\(dq, \(dq00001115\-0000\-1000\-8000\-00805f9b34fb\(dq Personal Network User role. .TP .B \(dqnap\(dq, \(dq00001116\-0000\-1000\-8000\-00805f9b34fb\(dq Network Access Point role. .TP .B \(dqgn\(dq, \(dq00001117\-0000\-1000\-8000\-00805f9b34fb\(dq Group Network role. .UNINDENT .sp The connection will be closed and network device released either upon calling \fBDisconnect()\fP or when the client disappears from the message bus. .sp Possible errors: .INDENT 0.0 .TP .B org.bluez.Error.InvalidArguments .TP .B org.bluez.Error.NotSupported .TP .B org.bluez.Error.InProgress .TP .B org.bluez.Error.Failed .UNINDENT .SS void Disconnect() .sp Disconnects from the network device. .sp To abort a connection attempt in case of errors or timeouts in the client it is fine to call this method. .sp Possible errors: .INDENT 0.0 .TP .B org.bluez.Error.Failed .TP .B org.bluez.Error.NotConnected .UNINDENT .SS Properties .SS boolean Connected [readonly] .sp Indicates if the device is connected. .SS string Interface [readonly, optional] .sp Indicates the network interface name when available. .SS string UUID [readonly, optional] .sp Indicates the connection role when available. .\" End of generated man page.