bluez/doc/network-api.txt
2012-12-14 11:24:12 +02:00

53 lines
1.2 KiB
Plaintext

BlueZ D-Bus Network API description
***********************************
Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
Network hierarchy
=================
Service org.bluez
Interface org.bluez.Network1
Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
Properties boolean Connected [readonly]
Indicates if the device is connected.
string Interface [readonly]
Indicates the network interface name when available.
string UUID [readonly]
Indicates the connection role when available.
Network server hierarchy
========================
Service org.bluez
Interface org.bluez.NetworkServer1
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".
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.
void Unregister(string uuid)
Unregister the server for provided UUID.
All servers will be automatically unregistered when
the calling application terminates.