Re: [IVI] receiving signal very late from phoned

2015-01-27 Thread Jimmy Huang
CallChanged is a signal only triggered when there's a PropertyChanged 
signal from Ofono, so when you first dial, you should receive two 
signals that the first is alerting, and then another one when it's 
active.  Then when you hangup, the property should changed to disconnected.


Are you saying that you don't see the alerting and active signals until 
you hang up the call, and then all three signals come at once?


Jimmy


On 01/26/2015 06:37 PM, kongling wrote:


Yes, I added some log:

Dial from Phoned:

handleMethodCall(490)  :1.6:/:org.tizen.Phone:Dial
handleMethodCall(559)  Dialing number: 10010
handleSignal(490)  signal received: org.ofono.VoiceCallManager - 
CallAdded

CallAdded: dialing 10010
CallAdded time : 64:919993537

handleSignal(490)  signal received: org.ofono.VoiceCall - 
PropertyChanged

handleSignal(602)  PROPERTY CHANGED: State = alerting
callChanged(695)  CallChanged: alerting 10010
callChanged(742)  g_dbus_connection_emit_signal CallChanged
callChanged(753)  CallChanged time : 125:392165964
callChanged(756)  g_dbus_connection_emit_signal CallChanged ret = true
handleSignal(490)  signal received: org.ofono.VoiceCall - 
PropertyChanged

handleSignal(602)  PROPERTY CHANGED: State = active
callChanged(695)  CallChanged: active 10010
callChanged(742)  g_dbus_connection_emit_signal CallChanged
callChanged(753)  CallChanged time : 125:393673800
callChanged(756)  g_dbus_connection_emit_signal CallChanged ret = true
handleSignal(490)  signal received: org.ofono.VoiceCall - 
PropertyChanged

handleSignal(605)  PROPERTY CHANGED: StartTime
callChanged(695)  CallChanged: active 10010


dial from lemolo:









Ray·Bloodworth

*From:* VanCutsem, Geoffroy mailto:geoffroy.vancut...@intel.com
*Date:* 2015-01-27 05:29
*To:* Ray·Bloodworth mailto:k870818...@outlook.com;
ivi@lists.tizen.org mailto:ivi@lists.tizen.org
*Subject:* RE: [IVI] receiving signal very late from phoned

Hi Ray,

Were you able to determine if what is delayed is the message from
oFono to phoned or from phoned to the Phone Web app?

Thanks,

Geoffroy

---

Intel Corporation NV/SA

Kings Square, Veldkant 31

2550 Kontich

RPM (Bruxelles) 0415.497.718.

Citibank, Brussels, account 570/1031255/09

*From:*IVI [mailto:ivi-boun...@lists.tizen.org] *On Behalf Of
*Ray·Bloodworth
*Sent:* Friday, January 23, 2015 7:20 AM
*To:* ivi@lists.tizen.org
*Subject:* [IVI] receiving signal very late from phoned

Hi, everyone

  I'm testing phoned using test code phoned/test/main.cpp.

 Platform: VTC1010

 
image:http://download.tizen.org/releases/milestone/tizen/ivi-3.0.m14.3/tizen-3.0.m14.3-ivi_20141028.3/

steps:

1. pair and connect mobile using bluetoothctl.

  2. launch test program phone with app user in weston terminal.

  3. enter dial command.

  Then a phone call was made and first signal named CallChanged
was received.

  Then I hangup the call from mobile. After long time(about 1min)
three signals named CallChanged were received together.

  I checked log, phoned received ofono's signals
CallChanged after a long time.

Also, I tested org.tizen.dialer, every thing is fine. There's no
much delay about these signals...

Could anyone help me with this issue?

Thanks!



Ray·Bloodworth





___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [IVI] GDBUS failed to get a name

2015-01-27 Thread Rees, Kevron
On Mon, Jan 26, 2015 at 5:39 PM, 王 ww20084600...@163.com wrote:
 I am using gio and DBUS implementation to create a daemon process. I'm using
 g_bus_own_name() to acquire the name, and my error case respond the the
 busAcquiredCb then nameLostCb scenario.  Here is my code.
 mNameRequestId = g_bus_own_name(G_BUS_TYPE_SYSTEM, //bus type
 org.tizen.setting, //bus name
 G_BUS_NAME_OWNER_FLAGS_NONE, //flags
 busAcquiredCb, //bus acquired callback
 nameAcquiredCb,//name acquired callback
 nameLostCb,//name lost callback
 NULL,
 NULL);
 I'm sure orr.tizen.setting is the unique name.
 I have tried the method in method.This is setting.conf in
 /etc/dbus-1/systemd/
 !DOCTYPE busconfig PUBLIC
  -//freedesktop//DTD D-BUS Bus Configuration 1.0//EN
  http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd;
 busconfig
 policy user=root
 allow own=org.tizen.setting/
 allow send_destination=org.tizen.setting/
 /policy

This makes it so only user root can own.  Are you running your code
as root?  This is also not very safe security-wise.

 policy at_console=true
 deny own=org.tizen.setting/
 allow send_destination=org.tizen.setting/
 /policy
 policy context=default

I would allow own=* here and add user=foo to this as well.

 deny own=org.tizen.setting/
 allow send_destination=org.tizen.setting/
 /policy
 /busconfig
 how can I get more information about the error?






 ___
 IVI mailing list
 IVI@lists.tizen.org
 https://lists.tizen.org/listinfo/ivi

___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


[IVI] My daemon process will be killed in one minute

2015-01-27 Thread
I am using systemd to launch my daemon process, it can be work. But in about 1 
minute,my daemon process will be killed. I lanuch the process using ./,it can 
remain till the time I kill it. I don not know the reason. ___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [IVI] receiving signal very late from phoned

2015-01-27 Thread BloodworthRay
CallChanged is a signal only triggered when there's a PropertyChanged 
signal from Ofono, so when you first dial, you should receive two 
signals that the first is alerting, and then another one when it's 
active. Then when you hangup, the property should changed to disconnected.
Are you saying that you don't see the alerting and active signals until 
you hang up the call, and then all three signals come at once?
JimmyYes. After I hang up the call( about 1 min), all three signals come at 
once.But dial with lemolo( eldbus ), these case are ok.Is this a bug belong 
to ofono ?  ___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi