* [PATCH]doc: update cdma voice call manager api
@ 2011-06-28 3:12 Caiwen Zhang
2011-06-28 13:44 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Caiwen Zhang @ 2011-06-28 3:12 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 4760 bytes --]
(1) Add "Calls" property to monitor the current present calls.
(2) Remove original "State" property, add it as a parameter of "Calls" property.
and add possible value: "held" and "waiting"
(3) Remove original "CallWaiting" and "CallWaitingNumber" property(Can get these
information from "Calls" property).
(4) Remove "ToneDuration" property as it is transparent to user, user don't need
change it.
---
doc/cdma-voicecall-manager-api.txt | 80 ++++++++++++++++++++---------------
1 files changed, 46 insertions(+), 34 deletions(-)
diff --git a/doc/cdma-voicecall-manager-api.txt b/doc/cdma-voicecall-manager-api.txt
index 535909a..d7d2409 100644
--- a/doc/cdma-voicecall-manager-api.txt
+++ b/doc/cdma-voicecall-manager-api.txt
@@ -13,7 +13,7 @@ Methods dict GetProperties()
void Dial(string number)
Initiates a new outgoing call. This is usually
- implemented using the ATD AT command.
+ implemented using the AT+CDV AT command.
Possible Errors: [service].Error.InProgress
[service].Error.InvalidArguments
@@ -60,7 +60,7 @@ Signals PropertyChanged(string property, variant value)
Signal is emitted whenever a property has changed.
The new value is passed as the signal argument.
- DisconnectReason(string reason)
+ DisconnectReason(string reason) [optional]
This signal is emitted when the modem manager can
provide extra information about why the call was
@@ -77,48 +77,60 @@ Signals PropertyChanged(string property, variant value)
of this signal as optional. This signal will be
emitted before the PropertyChanged signal.
-Properties string State [readonly]
+Properties dict Calls [readonly]
- Contains the state of the current call. The state
- can be one of:
- - "active" - The call is active
- - "dialing" - The call is being dialed
- - "alerting" - The remote party is being alerted
- - "incoming" - Incoming call in progress
- - "disconnected" - No call is connected
+ The currently present calls.
- boolean CallWaiting [readonly]
+ String Direction [readonly]
- Contains whether a call is waiting.
+ Contains the direction if the voice call. The
+ direction can be one of:
+ - "outgoing" - Mobile originated (MO) call
+ - "incoming" - Mobile terminated (MT) call
- string CallWaitingNumber [readonly, optional]
+ string State [readonly]
- Contains the call waiting number.
+ Contains the state of the call. The state can
+ be one of:
+ - "active" - The call is active
+ - "held" - The call is held
+ - "dialing" - The call is being dialed
+ - "alerting" - The remote party is
+ being alerted
+ - "incoming" - Incoming call in
+ progress
+ - "disconnected" - No call is connected
+ - "waiting" - The call is waiting for
+ being accepted
- string ToneDuration [readwrite]
+ string LineIdentification [readonly]
- Contains the length of the DTMF tone duration. The
- currently supported values are:
- "short",
- "long"
+ Contains the Line Identification information
+ returned by the network, if present. For incoming
+ calls this is effectively the CLIP. For outgoing
+ calls this attribute will hold the dialed
+ number.
- string LineIdentification [readonly]
+ Please note that after sending flash this
+ property will be empty.
- Contains the Line Identification information returned
- by the network, if present. For incoming calls this is
- effectively the CLIP. For outgoing calls this attribute
- will hold the dialed number.
+ string Name [readonly, optional]
- Please note that after sending flash this property
- will be empty.
+ Contains the remote party name.
- string StartTime [readonly, optional]
+ string StartTime [readonly, optional]
- Contains the starting time of the call. The time is
- stamped when the call enters the "active" state.
- Client applications can use this to infer somewhat
- reliable call duration information.
+ Contains the starting time of the call. The
+ time is stamped when the call enters the
+ "active" state. Client applications can use
+ this to infer somewhat reliable call duration
+ information.
- Please note that after sending Flash, there will not be
- any StartTime property change for the Flash
- string/number.
+ Please note that after sending Flash, there
+ will not be any StartTime property change for
+ the Flash string/number.
+
+ boolean Multiparty [readonly]
+
+ Contains the indication if the voice call is
+ part of a multiparty call or not.
--
1.7.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH]doc: update cdma voice call manager api
2011-06-28 3:12 [PATCH]doc: update cdma voice call manager api Caiwen Zhang
@ 2011-06-28 13:44 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2011-06-28 13:44 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 937 bytes --]
Hi Caiwen,
On 06/27/2011 10:12 PM, Caiwen Zhang wrote:
> (1) Add "Calls" property to monitor the current present calls.
> (2) Remove original "State" property, add it as a parameter of "Calls" property.
> and add possible value: "held" and "waiting"
> (3) Remove original "CallWaiting" and "CallWaitingNumber" property(Can get these
> information from "Calls" property).
> (4) Remove "ToneDuration" property as it is transparent to user, user don't need
> change it.
>
Actually I like the current API the way it is. We looked at trying to
re-use the GSM VoicecallManager style API, however the underlying CDMA
signaling is less sophisticated and thus not as capable. The present
API looks the way it does for a reason ;)
Can we please concentrate on implementing the cdma.ConnectionManager
interface and making it work with some USB sticks (and of course
ConnMan) to start with?
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-28 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 3:12 [PATCH]doc: update cdma voice call manager api Caiwen Zhang
2011-06-28 13:44 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.