From fb321da624431c784e32bec80bd5cb68f73f3acc Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Mon, 1 Sep 2008 18:23:15 -0300 Subject: Network: updated network API --- doc/network-api.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'doc') diff --git a/doc/network-api.txt b/doc/network-api.txt index a59c8972..85171711 100644 --- a/doc/network-api.txt +++ b/doc/network-api.txt @@ -36,3 +36,37 @@ Methods string Connect(string uuid) Signals void Connected(string device, string uuid) void Disconnected(string device) + + +Network Hub/Peer/Router hierarchy +================= + +Service org.bluez +Interface org.bluez.network.{Hub, Peer, Router} +Object path /org/bluez/{hci0,hci1,...} + +Methods dict GetProperties() + + Returns all properties for the GN/PANU/NAP server. See the + properties section for available properties. + + void SetProperty(string name, variant value) + + Changes the value of the specified property. Only + properties that are listed a read-write are changeable. + On success this will emit a PropertyChanged signal. + + Possible Errors: org.bluez.Error.DoesNotExist + org.bluez.Error.InvalidArguments + +Properties string Name[readwrite] + + The Bluetooth network server name. + + boolean Enable[readwrite] + + Indicates if the server is Enabled/Disabled. + + string Uuid[readonly] + + The Bluetooth network server UUID 128 identification. -- cgit