2008-05-29 17:07:06 +08:00
|
|
|
BlueZ D-Bus Network API description
|
|
|
|
***********************************
|
|
|
|
|
2010-01-02 09:08:17 +08:00
|
|
|
Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
|
2008-05-29 17:07:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
Network hierarchy
|
|
|
|
=================
|
|
|
|
|
|
|
|
Service org.bluez
|
2012-12-14 17:12:55 +08:00
|
|
|
Interface org.bluez.Network1
|
2008-09-06 11:17:37 +08:00
|
|
|
Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
|
2008-05-29 17:07:06 +08:00
|
|
|
|
2008-10-03 06:45:27 +08:00
|
|
|
Properties boolean Connected [readonly]
|
|
|
|
|
|
|
|
Indicates if the device is connected.
|
|
|
|
|
2010-02-03 02:20:59 +08:00
|
|
|
string Interface [readonly]
|
2008-10-03 06:45:27 +08:00
|
|
|
|
|
|
|
Indicates the network interface name when available.
|
|
|
|
|
|
|
|
string UUID [readonly]
|
|
|
|
|
|
|
|
Indicates the connection role when available.
|
2008-09-02 05:23:15 +08:00
|
|
|
|
|
|
|
|
2010-07-13 10:08:19 +08:00
|
|
|
Network server hierarchy
|
|
|
|
========================
|
|
|
|
|
|
|
|
Service org.bluez
|
2012-12-14 17:12:55 +08:00
|
|
|
Interface org.bluez.NetworkServer1
|
2010-07-13 10:08:19 +08:00
|
|
|
Object path /org/bluez/{hci0,hci1,...}
|
|
|
|
|
|
|
|
Methods void Register(string uuid, string bridge)
|
|
|
|
|
|
|
|
Register server for the provided UUID. Every new
|
|
|
|
connection to this server will be added the bridge
|
|
|
|
interface.
|
|
|
|
|
|
|
|
Valid UUIDs are "gn", "panu" or "nap".
|
|
|
|
|
2010-07-13 11:05:43 +08:00
|
|
|
Initially no network server SDP is provided. Only
|
|
|
|
after this method a SDP record will be available
|
|
|
|
and the BNEP server will be ready for incoming
|
|
|
|
connections.
|
|
|
|
|
2010-07-13 10:08:19 +08:00
|
|
|
void Unregister(string uuid)
|
|
|
|
|
|
|
|
Unregister the server for provided UUID.
|
|
|
|
|
|
|
|
All servers will be automatically unregistered when
|
|
|
|
the calling application terminates.
|