Thread (4 messages) 4 messages, 3 authors, 2009-02-23

Re: [PATCH 1/4] add the D-Bus interface definition for HFP Audio gateway -- take 2 -- resend

flat view

From: Denis Kenzior <hidden>
Date: 2009-02-20 20:52:39

Hi,
quoted
+		string[] GetSubscriberNumbers()
+
+			Get all the numbers of AG
Shouldn't we use GetProperties() for this? Or does this actually end up
in exchanging AT commands. How often does this change. Can we assume we
only do this once and then be able to cache them?
This actually results in a +CNUM which can return multiple numbers.
However, we should only be returning the number for voice call basic
service and ignoring the rest.  I don't think HFP was meant for data /
fax calls :)
quoted
+Signals
+		void Connected(uint32 ag_features)
+
+			Connection successfully esteblished. 'ag_features' are
+			ORed features:
+				0x001 Three-way calling
+				0x002 Echo cancelling and/or noice reduction
+					function
+				0x004 Voice recognition function
+				0x008 In-band ring tone capability
+				0x010 Attach a number to a voice tag
+				0x020 Ability to reject a call
+				0x040 Enhanced call status
+				0x080 Enhanced call control
+				0x100 Extended Error Result Cod
I really don't like having the features in hex codes. Can't we use the
same strings the actual AT command set uses.
That is what the spec uses.  HFP AG & HFP client do a handshake of
sending +BRSF commands.  E.g. +BRSF: 224.  The decimal number is a bit
field containing the features actually supported. The numbers have
different meanings depending on whether HFP is AG role or Client role.
quoted
+		void CallCancelled()
+
+			Call failed to set up. It means that we tried to call
+			someone or someone tried to call us but call was not
+			accepted.
Would call that CallTerminated()
quoted
+		void CallStart()
+
+			Call set up successfully.
+
+		void CallEnd()
+
+			Call was started and now ended. In contrast with
+			CallCancelled where call didn't started
That is CallStarted() and CallEnded().

Do we really need three signals to do this? Any better ideas?
This is not really complete enough.  You can have calls on hold,
multiparty calls etc.

Regards,
-Denis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help