Re: [RFC 1/2] audio: Move tel drivers to DBus interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Frédéric,

On Tue, Nov 22, 2011, Frédéric Danis wrote:
> +Telephony hierarchy [experiemental]
> +===================
> +
> +Service		org.bluez
> +Interface	org.bluez.Telephony
> +Object path	[variable prefix]/{hci0,hci1,...}
> +
> +Methods		void RegisterAgent(object path, dict properties)
> +
> +			Register a TelephonyAgent to sender, the sender can
> +			register as many agents as it likes.
> +
> +			Note: If the sender disconnects its agents are
> +			automatically unregistered.
> +
> +			possible properties:
> +
> +				string UUID:
> +
> +					UUID of the profile which the agent is
> +					for.
> +
> +				uint16 Version:
> +
> +					Version of the profile which the agent
> +					implements.
> +
> +				byte Features:
> +
> +					Agent supported features as defined in
> +					profile spec e.g. HFP.

The HFP spec uses a 16-bit integer for Features in SDP so I believe we
should too.

> +
> +			Possible Errors: org.bluez.Error.InvalidArguments
> +
> +
> +		void UnregisterAgent(object path)
> +
> +			Unregister sender agent.
> +
> +TelephonyAgent hierarchy
> +========================
> +
> +Service		unique name
> +Interface	org.bluez.TelephonyAgent
> +Object path	freely definable
> +
> +ethods		void NewConnection(filedescriptor fd, dict properties)

M missing :)

> +
> +			This method gets called whenever a new connection
> +			has been established. This method assumes that DBus
> +			daemon with file descriptor passing capability is
> +			being used.
> +
> +			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.
> +
> +			If Endpoint is set the agent is responsible to
> +			create an object implementing org.bluez.MediaTransport
> +			and notify the Endpoint using org.bluez.MediaEndpoint.
> +
> +			possible properties:
> +
> +				strict Device:
> +
> +					BlueZ remote device object.
> +
> +				string UUID:
> +
> +					Profile UUID of the connection.
> +
> +				uint16 Version:
> +
> +					Remote profile version.
> +
> +				byte Features:
> +
> +					Remote profile features.

Same thing here about the Features integer size.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux