From 28913ce349398359e8dd6700d20b113ba9db36de Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 14 Nov 2012 14:45:56 +0200 Subject: [PATCH] hfp-api: Remove HandsfreeGateway interface This API is not longer supported --- Makefile.am | 4 +-- doc/hfp-api.txt | 84 ------------------------------------------------- 2 files changed, 2 insertions(+), 86 deletions(-) delete mode 100644 doc/hfp-api.txt diff --git a/Makefile.am b/Makefile.am index 10c811a09..e8a247af1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -338,8 +338,8 @@ EXTRA_DIST += doc/manager-api.txt \ doc/adapter-api.txt doc/device-api.txt doc/profile-api.txt \ doc/service-api.txt doc/agent-api.txt doc/attribute-api.txt \ doc/network-api.txt doc/input-api.txt doc/audio-api.txt \ - doc/control-api.txt doc/hfp-api.txt doc/health-api.txt \ - doc/sap-api.txt doc/media-api.txt doc/assigned-numbers.txt \ + doc/control-api.txt doc/health-api.txt doc/sap-api.txt \ + doc/media-api.txt doc/assigned-numbers.txt \ doc/supported-features.txt doc/alert-api.txt doc/mgmt-api.txt \ doc/oob-api.txt doc/proximity-api.txt doc/heartrate-api.txt \ doc/thermometer-api.txt diff --git a/doc/hfp-api.txt b/doc/hfp-api.txt deleted file mode 100644 index fad89aecb..000000000 --- a/doc/hfp-api.txt +++ /dev/null @@ -1,84 +0,0 @@ -Gateway hierarchy -======================== - -Service org.bluez -Interface org.bluez.HandsfreeGateway -Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX - -This interface is available for remote devices which can function in the Audio -Gateway role of the HFP profiles. It is intended to be used with external -telephony stacks / handlers of the HFP protocol. - -Methods void Connect() - - Connect to the AG service on the remote device. - - void Disconnect() - - Disconnect from the AG service on the remote device - - dict GetProperties() - - Returns all properties for the interface. See the - properties section for available properties. - - void RegisterAgent(object path) - - The object path defines the path the of the agent - that will be called when a new Handsfree connection - is established. - - If an application disconnects from the bus all of its - registered agents will be removed. - - void UnregisterAgent(object path) - - This unregisters the agent that has been previously - registered. The object path parameter must match the - same value that has been used on registration. - - Possible Errors: org.bluez.Error.Failed - org.bluez.Error.InvalidArguments - - -Signals PropertyChanged(string name, variant value) - - This signal indicates a changed value of the given - property. - -Properties string State [readonly] - - Indicates the state of the connection. Possible - values are: - "disconnected" - "connecting" - "connected" - "playing" - -HandsfreeAgent hierarchy -=============== - -Service unique name -Interface org.bluez.HandsfreeAgent -Object path freely definable - -Methods void NewConnection(filedescriptor fd, uint16 version) - - This method gets called whenever a new handsfree - connection has been established. The objectpath - contains the object path of the remote device. - - The agent should only return successfully once the - establishment of the service level connection (SLC) - has been completed. In the case of Handsfree this - means that BRSF exchange has been performed and - necessary initialization has been done. - - Possible Errors: org.bluez.Error.InvalidArguments - org.bluez.Error.Failed - - void Release() - - This method gets called whenever the service daemon - unregisters the agent or whenever the Adapter where - the HandsfreeAgent registers itself is removed. -- 2.47.3