All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] isimodem: Improper handling of missed call
@ 2011-05-18 10:47 Arun Ravindran
  2011-05-19 12:19 ` Aki Niemi
  0 siblings, 1 reply; 7+ messages in thread
From: Arun Ravindran @ 2011-05-18 10:47 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1721 bytes --]

---
 drivers/isimodem/voicecall.c |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c
index 333f9b8..6979105 100644
--- a/drivers/isimodem/voicecall.c
+++ b/drivers/isimodem/voicecall.c
@@ -50,6 +50,7 @@ struct isi_call {
 	uint8_t id;
 	uint8_t call_id;
 	uint8_t status;
+	uint8_t prev_status;
 	uint8_t mode;
 	uint8_t mode_info;
 	uint8_t cause_type;
@@ -314,7 +315,7 @@ static void isi_call_status_sb_proc(struct isi_voicecall *ivc,
 
 	if (!g_isi_sb_iter_get_byte(sb, &status, 2))
 		return;
-
+	call->prev_status = call->status;
 	call->status = status;
 }
 
@@ -401,10 +402,16 @@ static int isi_call_status_to_clcc(const struct isi_call *call)
 		return 5;
 
 	case CALL_STATUS_MO_RELEASE:
-	case CALL_STATUS_MT_RELEASE:
-	case CALL_STATUS_TERMINATED:
 		return 6;
 
+	case CALL_STATUS_MT_RELEASE:
+		if ((call->prev_status == CALL_STATUS_MT_ALERTING) ||
+				(call->prev_status == CALL_STATUS_COMING) ||
+				(call->prev_status == CALL_STATUS_WAITING))
+			return 4;
+		else
+			return 6;
+	
 	case CALL_STATUS_ACTIVE:
 	case CALL_STATUS_HOLD_INITIATED:
 		return 0;
@@ -548,9 +555,14 @@ static void isi_call_notify(struct ofono_voicecall *ovc, struct isi_call *call)
 
 	case CALL_STATUS_MO_RELEASE:
 	case CALL_STATUS_MT_RELEASE:
+		isi_call_set_disconect_reason(call):
+		break;
+
 	case CALL_STATUS_TERMINATED:
 		isi_call_set_disconnect_reason(call);
-		break;
+		DBG("State( CALL_STATUS_TERMINATED ) need not be reported to Core");
+		return;
+
 	case CALL_STATUS_ANSWERED:
 		DBG("State need not be reported to Core");
 		return;
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] isimodem: Improper handling of missed call
  2011-05-18 10:47 [PATCH] isimodem: Improper handling of missed call Arun Ravindran
@ 2011-05-19 12:19 ` Aki Niemi
  0 siblings, 0 replies; 7+ messages in thread
From: Aki Niemi @ 2011-05-19 12:19 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]

Hi Arun,

2011/5/18 Arun Ravindran <arunlee@gmail.com>:
> +       case CALL_STATUS_MT_RELEASE:
> +               if ((call->prev_status == CALL_STATUS_MT_ALERTING) ||
> +                               (call->prev_status == CALL_STATUS_COMING) ||
> +                               (call->prev_status == CALL_STATUS_WAITING))
> +                       return 4;
> +               else
> +                       return 6;
> +

Extra whitespace here.

>        case CALL_STATUS_ACTIVE:
>        case CALL_STATUS_HOLD_INITIATED:
>                return 0;
> @@ -548,9 +555,14 @@ static void isi_call_notify(struct ofono_voicecall *ovc, struct isi_call *call)
>
>        case CALL_STATUS_MO_RELEASE:
>        case CALL_STATUS_MT_RELEASE:
> +               isi_call_set_disconect_reason(call):
> +               break;
> +
>        case CALL_STATUS_TERMINATED:
>                isi_call_set_disconnect_reason(call);
> -               break;
> +               DBG("State( CALL_STATUS_TERMINATED ) need not be reported to Core");
> +               return;
> +
>        case CALL_STATUS_ANSWERED:
>                DBG("State need not be reported to Core");
>                return;

If the intention is not to report this up, then why set the disconnect
reason with isi_call_set_disconnect_reason()? Why not just fold these
two case statements together?

Cheers,
Aki

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [PATCH] isimodem: Improper handling of missed call
  2011-06-14  8:30     ` Aki Niemi
@ 2011-07-20 13:14       ` Paccou, Nicolas
  0 siblings, 0 replies; 7+ messages in thread
From: Paccou, Nicolas @ 2011-07-20 13:14 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]

Hi Aki,

I'm Nicolas Paccou, I'm in charge of validating the changes applied in new oFono release.
Unfortunately, I have not the hardware to be able to regress your patch: "Add support for UICC SIM driver for ISI modems"

I wanted to know if you have tested your patch on an ISI modem ?
If yes, can you tell me if the result is ok ?
If not, do you able to test it and tell me the result please ?

Thanks,
Nicolas

-----Original Message-----
From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of Aki Niemi
Sent: Tuesday, June 14, 2011 10:30 AM
To: ofono(a)ofono.org
Subject: Re: [PATCH] isimodem: Improper handling of missed call

Hi Arun,

2011/5/30 Arun Ravindran <arunlee@gmail.com>:
>> Can you post logs on such a successful case, if you have any around?
>>
>
> tested once again, its working for me. I have attached the log here.
>
> But here i am using as n900 modem and not as isiusb .

It seems to be working for me now using the isiusb plugin.

So I pushed the patch along with the WS fixes.

Sorry for the delay.

Cheers,
Aki
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] isimodem: Improper handling of missed call
  2011-05-30 19:35   ` Arun Ravindran
@ 2011-06-14  8:30     ` Aki Niemi
  2011-07-20 13:14       ` Paccou, Nicolas
  0 siblings, 1 reply; 7+ messages in thread
From: Aki Niemi @ 2011-06-14  8:30 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

Hi Arun,

2011/5/30 Arun Ravindran <arunlee@gmail.com>:
>> Can you post logs on such a successful case, if you have any around?
>>
>
> tested once again, its working for me. I have attached the log here.
>
> But here i am using as n900 modem and not as isiusb .

It seems to be working for me now using the isiusb plugin.

So I pushed the patch along with the WS fixes.

Sorry for the delay.

Cheers,
Aki

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] isimodem: Improper handling of missed call
  2011-05-30 12:03 ` Aki Niemi
@ 2011-05-30 19:35   ` Arun Ravindran
  2011-06-14  8:30     ` Aki Niemi
  0 siblings, 1 reply; 7+ messages in thread
From: Arun Ravindran @ 2011-05-30 19:35 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]

Hi Aki,

> +               isi_call_set_disconnect_reason(call);
> > +               return;
>
> These comment blocks had some trailing whitespace.
>
> I tested this patch, and I don't think it's still doing the right
> thing. I don't seem to be able to generate a missed call, at least
> when using the isiusb plugin. Somehow, ofono_voicecall_disconnect()
> does not get called with the correct reason code.
>
> Can you post logs on such a successful case, if you have any around?
>
>
tested once again, its working for me. I have attached the log here.

But here i am using as n900 modem and not as isiusb .


Hope this helps.

regards
Arun

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 936 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: ofono.log --]
[-- Type: text/x-log, Size: 53117 bytes --]

ofonod[846]: oFono version 0.48
ofonod[846]: src/plugin.c:__ofono_plugin_init() 
ofonod[846]: File size: 14412
ofonod[846]: Record size 288
ofonod[846]: Unread: 0, Header: 12, Tail: 12
ofonod[846]: src/history.c:ofono_history_driver_register() driver: 0x400d4e9c name: SMS History
ofonod[846]: stat file: 8016
ofonod[846]: Unread: 0, Header: 96, Tail: 96, serialno: 1
ofonod[846]: src/history.c:ofono_history_driver_register() driver: 0x40020a30 name: Voice Call History
ofonod[846]: plugins/push-notification.c:push_notification_init() 
ofonod[846]: plugins/smart-messaging.c:smart_messaging_init() 
ofonod[846]: plugins/dun_gw.c:dun_gw_init() 
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xddba0, name: hfp
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xddb48, name: linktop
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xddb0c, name: nokiacdma
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xddad0, name: nokia
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdda94, name: tc65
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdda28, name: ste
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd9e4, name: ifx
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd9a8, name: palmpre
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd964, name: novatel
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd928, name: sierra
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd8d4, name: huawei
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd898, name: zte
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd84c, name: hso
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd800, name: mbm
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd7bc, name: calypso
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd780, name: wavecom
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd744, name: gobi
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd708, name: g1
ofonod[846]: src/cdma-voicecall.c:ofono_cdma_voicecall_driver_register() driver: 0xdd6c4, name: cdmamodem
ofonod[846]: src/modem.c:ofono_devinfo_driver_register() driver: 0xdd6d8, name: cdmamodem
ofonod[846]: src/cdma-connman.c:ofono_cdma_connman_driver_register() driver: 0xdd6f4, name: cdmamodem
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdd668, name: phonesim
ofonod[846]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xdd654, name: phonesim
ofonod[846]: src/ctm.c:ofono_ctm_driver_register() driver: 0xdd640, name: phonesim
ofonod[846]: plugins/phonesim.c:parse_config() filename /etc/ofono/phonesim.conf
ofonod[846]: src/voicecall.c:ofono_voicecall_driver_register() driver: 0xdd5a4, name: stemodem
ofonod[846]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xdd62c, name: stemodem
ofonod[846]: src/radio-settings.c:ofono_radio_settings_driver_register() driver: 0xdd5f4, name: stemodem
ofonod[846]: src/voicecall.c:ofono_voicecall_driver_register() driver: 0xdd4a0, name: ifxmodem
ofonod[846]: src/audio-settings.c:ofono_audio_settings_driver_register() driver: 0xdd4f0, name: ifxmodem
ofonod[846]: src/radio-settings.c:ofono_radio_settings_driver_register() driver: 0xdd504, name: ifxmodem
ofonod[846]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xdd538, name: ifxmodem
ofonod[846]: src/stk.c:ofono_stk_driver_register() driver: 0xdd55c, name: ifxmodem
ofonod[846]: src/ctm.c:ofono_ctm_driver_register() driver: 0xdd578, name: ifxmodem
ofonod[846]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xdd448, name: hsomodem
ofonod[846]: src/radio-settings.c:ofono_radio_settings_driver_register() driver: 0xdd464, name: hsomodem
ofonod[846]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xdd3d8, name: mbmmodem
ofonod[846]: src/stk.c:ofono_stk_driver_register() driver: 0xdd3f4, name: mbmmodem
ofonod[846]: src/location-reporting.c:ofono_location_reporting_driver_register() driver: 0xdd410, name: mbmmodem
ofonod[846]: src/voicecall.c:ofono_voicecall_driver_register() driver: 0xdd30c, name: hfpmodem
ofonod[846]: src/network.c:ofono_netreg_driver_register() driver: 0xdd364, name: hfpmodem
ofonod[846]: src/call-volume.c:ofono_call_volume_driver_register() driver: 0xdd398, name: hfpmodem
ofonod[846]: src/voicecall.c:ofono_voicecall_driver_register() driver: 0xdd288, name: calypsomodem
ofonod[846]: src/stk.c:ofono_stk_driver_register() driver: 0xdd2d8, name: calypsomodem
ofonod[846]: src/voicecall.c:ofono_voicecall_driver_register() driver: 0xdd1cc, name: huaweimodem
ofonod[846]: src/audio-settings.c:ofono_audio_settings_driver_register() driver: 0xdd21c, name: huaweimodem
ofonod[846]: src/radio-settings.c:ofono_radio_settings_driver_register() driver: 0xdd24c, name: huaweimodem
ofonod[846]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xdd230, name: huaweimodem
ofonod[846]: src/radio-settings.c:ofono_radio_settings_driver_register() driver: 0xdd190, name: nwmodem
ofonod[846]: src/voicecall.c:ofono_voicecall_driver_register() driver: 0xdd028, name: atmodem
ofonod[846]: src/modem.c:ofono_devinfo_driver_register() driver: 0xdd0b8, name: atmodem
ofonod[846]: src/call-barring.c:ofono_call_barring_driver_register() driver: 0xdd078, name: atmodem
ofonod[846]: src/call-forwarding.c:ofono_call_forwarding_driver_register() driver: 0xdce94, name: atmodem
ofonod[846]: src/call-meter.c:ofono_call_meter_driver_register() driver: 0xdced4, name: atmodem
ofonod[846]: src/call-settings.c:ofono_call_settings_driver_register() driver: 0xdcde0, name: atmodem
ofonod[846]: src/phonebook.c:ofono_phonebook_driver_register() driver: 0xdd0a8, name: atmodem
ofonod[846]: src/ussd.c:ofono_ussd_driver_register() driver: 0xdd004, name: atmodem
ofonod[846]: src/sms.c:ofono_sms_driver_register() driver: 0xdce50, name: atmodem
ofonod[846]: src/sim.c:ofono_sim_driver_register() driver: 0xdcf88, name: atmodem
ofonod[846]: src/stk.c:ofono_stk_driver_register() driver: 0xdcfd8, name: atmodem
ofonod[846]: src/network.c:ofono_netreg_driver_register() driver: 0xdcf28, name: atmodem
ofonod[846]: src/cbs.c:ofono_cbs_driver_register() driver: 0xdce78, name: atmodem
ofonod[846]: src/call-volume.c:ofono_call_volume_driver_register() driver: 0xdd0e4, name: atmodem
ofonod[846]: src/gprs.c:ofono_gprs_driver_register() driver: 0xdd10c, name: atmodem
ofonod[846]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xdd120, name: atmodem
ofonod[846]: src/sim-auth.c:ofono_sim_auth_driver_register() driver: 0xdd13c, name: atmodem
ofonod[846]: src/gnss.c:ofono_gnss_driver_register() driver: 0xdd15c, name: atmodem
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdcc7c, name: u8500
ofonod[846]: src/modem.c:ofono_devinfo_driver_register() driver: 0xdcc60, name: u8500
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdcc24, name: n900
ofonod[846]: src/modem.c:ofono_modem_driver_register() driver: 0xdcbe8, name: isiusb
ofonod[846]: src/modem.c:ofono_devinfo_driver_register() driver: 0xdc9e8, name: isimodem
ofonod[846]: src/phonebook.c:ofono_phonebook_driver_register() driver: 0xdc9d8, name: isimodem
ofonod[846]: src/network.c:ofono_netreg_driver_register() driver: 0xdca04, name: isimodem
ofonod[846]: src/voicecall.c:ofono_voicecall_driver_register() driver: 0xdca28, name: isimodem
ofonod[846]: src/sms.c:ofono_sms_driver_register() driver: 0xdca70, name: isimodem
ofonod[846]: src/cbs.c:ofono_cbs_driver_register() driver: 0xdca90, name: isimodem
ofonod[846]: src/sim.c:ofono_sim_driver_register() driver: 0xdcaa4, name: isimodem
ofonod[846]: src/ussd.c:ofono_ussd_driver_register() driver: 0xdcaec, name: isimodem
ofonod[846]: src/call-forwarding.c:ofono_call_forwarding_driver_register() driver: 0xdcb00, name: isimodem
ofonod[846]: src/call-settings.c:ofono_call_settings_driver_register() driver: 0xdcb20, name: isimodem
ofonod[846]: src/call-barring.c:ofono_call_barring_driver_register() driver: 0xdcb50, name: isimodem
ofonod[846]: src/call-meter.c:ofono_call_meter_driver_register() driver: 0xdcb68, name: isimodem
ofonod[846]: src/radio-settings.c:ofono_radio_settings_driver_register() driver: 0xdcb90, name: isimodem
ofonod[846]: src/gprs.c:ofono_gprs_driver_register() driver: 0xdcbb4, name: isimodem
ofonod[846]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xdcbc8, name: isimodem
ofonod[846]: src/audio-settings.c:ofono_audio_settings_driver_register() driver: 0xdcbdc, name: isimodem
ofonod[846]: plugins/bluetooth.c:manager_properties_cb() 
ofonod[846]: plugins/bluetooth.c:parse_adapters() 
ofonod[846]: src/modem.c:ofono_modem_create() name: (null), type: n900
ofonod[846]: src/modem.c:set_modem_property() modem 0x60c760 property Path
ofonod[846]: plugins/udev.c:add_modem() /devices/platform/omap_ssi.0/ssi0/port0/ssi_protocol/net/phonet0 (n900)
ofonod[846]: plugins/udev.c:add_isi() modem 0x60c760
ofonod[846]: src/modem.c:get_modem_property() modem 0x60c760 property Interface
ofonod[846]: src/modem.c:set_modem_property() modem 0x60c760 property Address
ofonod[846]: src/modem.c:set_modem_property() modem 0x60c760 property Interface
ofonod[846]: plugins/udev.c:add_isi() interface phonet0
ofonod[846]: src/modem.c:get_modem_property() modem 0x60c760 property Interface
ofonod[846]: src/modem.c:get_modem_property() modem 0x60c760 property Address
ofonod[846]: plugins/n900.c:n900_probe() (0x60c760) with phonet0
ofonod[846]: plugins/nokia-gpio.c:gpio_probe_links() Using /dev/cmt
ofonod[846]: plugins/nokia-gpio.c:gpio_line_probe() cmt_en: found
ofonod[846]: plugins/nokia-gpio.c:gpio_line_probe() cmt_rst_rq: found
ofonod[846]: plugins/nokia-gpio.c:gpio_line_probe() cmt_rst: found
ofonod[846]: plugins/nokia-gpio.c:gpio_line_probe() cmt_bsi: found
ofonod[846]: plugins/nokia-gpio.c:gpio_line_probe() cmt_apeslpx: found
ofonod[846]: plugins/hfp_ag.c:modem_watch() modem: 0x60c760, added: 1
ofonod[846]: plugins/dun_gw.c:modem_watch() modem: 0x60c760, added: 1
ofonod[846]: plugins/smart-messaging.c:modem_watch() modem: 0x60c760, added: 1
ofonod[846]: plugins/push-notification.c:modem_watch() modem: 0x60c760, added: 1
ofonod[846]: plugins/nokia-gpio.c:phonet_status_cb() Link phonet0 (4) is down
ofonod[846]: plugins/nokia-gpio.c:gpio_power_state_machine() (POWER_EVENT_PHONET_LINK_DOWN) @ state POWER_STATE_NONE
ofonod[846]: plugins/nokia-gpio.c:gpio_power_set_state() (POWER_STATE_OFF) at (POWER_STATE_NONE)
ofonod[846]: plugins/nokia-gpio.c:gpio_finish_modem_power_off() 
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_apeslpx", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_rst_rq", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_en", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_rst", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_rst", "active")
ofonod[846]: plugins/n900.c:n900_power_cb() power state POWER_STATE_OFF
ofonod[846]: plugins/n900.c:n900_enable() modem=0x60c760 with 0x60c838
ofonod[846]: plugins/nokia-gpio.c:gpio_power_state_machine() (POWER_EVENT_ON) @ state POWER_STATE_OFF
ofonod[846]: plugins/nokia-gpio.c:gpio_power_set_state() (POWER_STATE_ON_STARTED) at (POWER_STATE_OFF)
ofonod[846]: plugins/nokia-gpio.c:gpio_start_modem_power_on() 
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_apeslpx", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_rst_rq", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_en", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_bsi", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_rst", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_en", "active")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_rst", "active")
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_rst_rq", "active")
ofonod[846]: plugins/n900.c:n900_power_cb() power state POWER_STATE_ON_STARTED
ofonod[846]: plugins/nokia-gpio.c:phonet_status_cb() Link phonet0 (4) is up
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_rst_rq", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_power_state_machine() (POWER_EVENT_PHONET_LINK_UP) @ state POWER_STATE_ON_STARTED
ofonod[846]: plugins/nokia-gpio.c:gpio_power_set_state() (POWER_STATE_ON) at (POWER_STATE_ON_STARTED)
ofonod[846]: plugins/nokia-gpio.c:gpio_finish_modem_power_on() 
ofonod[846]: plugins/nokia-gpio.c:gpio_write() ("cmt_en", "inactive")
ofonod[846]: plugins/nokia-gpio.c:gpio_power_set_state() Power on
ofonod[846]: plugins/n900.c:n900_power_cb() power state POWER_STATE_ON
ofonod[846]: gisi: Ping sent COMMON (0x60cc38) [res=0x15]
ofonod[846]: PN_MTC (0x15): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 12 00 00 00 00                         : .........
ofonod[846]: gisi: Success COMMON to 0x60cc38 [res=0x15, id=0xF0, utid=0x01]
ofonod[846]: plugins/n900.c:mtc_reachable_cb() QSO: PN_MTC [0x15] v018.000
ofonod[846]: gisi: Subscribed for IND (0x60dac0) [res=0x15, id=0xC0]
ofonod[846]: PN_MTC (0x15): MTC_STATE_QUERY_REQ [id=0x02 utid=0x02 len=4]:
ofonod[846]:     * 02 02 00 00                                     : .....
ofonod[846]: PN_MTC (0x15): MTC_STATE_QUERY_RESP [id=0x65 utid=0x02 len=4]:
ofonod[846]:     * 02 65 0A 0A                                     : ..e..
ofonod[846]: gisi: Success RESP to 0x60e1f0 [res=0x15, id=0x65, utid=0x02]
ofonod[846]: plugins/n900.c:mtc_query_cb() Modem state: current=MTC_RF_INACTIVE (0x0A) target=MTC_RF_INACTIVE (0x0A)
ofonod[846]: plugins/n900.c:report_powered() Powered on
ofonod[846]: src/modem.c:modem_change_state() old state: 0, new state: 1
ofonod[846]: plugins/n900.c:n900_pre_sim() (0x60c760) with phonet0
ofonod[846]: gisi: Bound service for REQ (0x60c808) [res=0x62, id=0x00]
ofonod[846]: gisi: Subscribed for IND (0x60e550) [res=0x09, id=0xEF]
ofonod[846]: gisi: Ping sent COMMON (0x60c868) [res=0x09]
ofonod[846]: gisi: Ping sent COMMON (0x604a30) [res=0x1B]
ofonod[846]: gisi: Ping sent COMMON (0x60e7f8) [res=0x01]
ofonod[846]: gisi: Ping sent COMMON (0x60e888) [res=0xC9]
ofonod[846]: gisi: Ping sent COMMON (0x60e970) [res=0x01]
ofonod[846]: PN_MTC (0x15): MTC_STARTUP_SYNQ_REQ [id=0x0B utid=0x03 len=4]:
ofonod[846]:     * 03 0B 00 00                                     : .....
ofonod[846]: PN_<UNKNOWN> (0xDB): UNKNOWN [id=0x06 utid=0x00 len=3]:
ofonod[846]:     * 00 06 00                                        : ....
ofonod[846]: PN_SIM (0x09): COMMON_MESSAGE [id=0xF0 utid=0x01 len=4]:
ofonod[846]:     * 01 F0 00 FA                                     : .....
ofonod[846]: gisi: Success COMMON to 0x60c868 [res=0x09, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/sim.c:sim_reachable_cb() QSO: PN_SIM [0x09] v-01.-01
ofonod[846]: gisi: Ping sent COMMON (0x607818) [res=0x08]
ofonod[846]: PN_PHONE_INFO (0x1B): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 08 05 00 00 00                         : .........
ofonod[846]: gisi: Success COMMON to 0x604a30 [res=0x1B, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/devinfo.c:reachable_cb() QSO: PN_PHONE_INFO [0x1B] v008.005
ofonod[846]: PN_PHONE_INFO (0x1B): INFO_PRODUCT_INFO_READ_REQ [id=0x15 utid=0x02 len=3]:
ofonod[846]:     * 02 15 07                                        : ....
ofonod[846]: PN_CALL (0x01): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 07 14 55 55 55                         : ......UUU
ofonod[846]: gisi: Success COMMON to 0x60e970 [res=0x01, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/audio-settings.c:isi_call_verify_cb() QSO: PN_CALL [0x01] v007.020
ofonod[846]: gisi: Subscribed for IND (0x604a30) [res=0x01, id=0x10]
ofonod[846]: gisi: Success COMMON to 0x60e7f8 [res=0x01, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/voicecall.c:pn_call_verify_cb() QSO: PN_CALL [0x01] v007.020
ofonod[846]: gisi: Subscribed for IND (0x60e970) [res=0x01, id=0x0F]
ofonod[846]: gisi: Subscribed for IND (0x60e998) [res=0x01, id=0x13]
ofonod[846]: gisi: Subscribed for IND (0x60e9c0) [res=0x01, id=0x0C]
ofonod[846]: gisi: Subscribed for IND (0x60eb48) [res=0x01, id=0xA0]
ofonod[846]: PN_CALL (0x01): CALL_STATUS_REQ [id=0x0D utid=0x02 len=8]:
ofonod[846]:     * 02 0D F0 01 1C 04 02 00                         : .........
ofonod[846]: PN_MODEM_CALL (0xC9): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 14 F0 01 00 00 00                         : .........
ofonod[846]: gisi: No such file or directory COMMON to 0x60e888 [res=0xC9, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/voicecall.c:pn_modem_call_verify_cb() PN_MODEM_CALL not reachable, removing client
ofonod[846]: PN_MTC (0x15): MTC_STARTUP_SYNQ_RESP [id=0x6E utid=0x03 len=4]:
ofonod[846]:     * 03 6E 00 00                                     : ..n..
ofonod[846]: gisi: Success RESP to 0x60ea00 [res=0x15, id=0x6E, utid=0x03]
ofonod[846]: PN_SECURITY (0x08): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 09 04 00 00 00                         : .........
ofonod[846]: gisi: Success COMMON to 0x607818 [res=0x08, id=0xF0, utid=0x01]
ofonod[846]: gisi: Subscribed for IND (0x60e7f8) [res=0x09, id=0xEF]
ofonod[846]: gisi: Subscribed for IND (0x60e870) [res=0x09, id=0xED]
ofonod[846]: PN_SIM (0x09): SIM_STATUS_REQ [id=0xC0 utid=0x02 len=3]:
ofonod[846]:     * 02 C0 00                                        : ....
ofonod[846]: src/sim.c:ofono_sim_add_state_watch() 0x60e408
ofonod[846]: src/sim.c:ofono_sim_add_state_watch() 0x60e408
ofonod[846]: src/sim.c:ofono_sim_add_state_watch() 0x60e408
ofonod[846]: Registered handle for channel 13: 0x10000
ofonod[846]: PN_PHONE_INFO (0x1B): INFO_PRODUCT_INFO_READ_RESP [id=0x16 utid=0x02 len=16]:
ofonod[846]:     * 02 16 00 01 07 0C 00 06 4E 6F 6B 69 61 00 00 00 : .........Nokia...
ofonod[846]: gisi: Success RESP to 0x607840 [res=0x1B, id=0x16, utid=0x02]
ofonod[846]: PN_PHONE_INFO (0x1B): INFO_PRODUCT_INFO_READ_REQ [id=0x15 utid=0x03 len=3]:
ofonod[846]:     * 03 15 01                                        : ....
ofonod[846]: PN_CALL (0x01): CALL_STATUS_RESP [id=0x0E utid=0x02 len=8]:
ofonod[846]:     * 02 0E F0 01 08 04 02 01                         : .........
ofonod[846]: gisi: Success RESP to 0x60eb90 [res=0x01, id=0x0E, utid=0x02]
ofonod[846]: PN_EPOC_INFO (0x62): INFO_SERIAL_NUMBER_READ_REQ [id=0x00 utid=0x43 len=3]:
ofonod[846]:     * 43 00 43                                        : .C.C
ofonod[846]: gisi: Success REQ to 0x60c808 [res=0x62, id=0x00, utid=0x43]
ofonod[846]: PN_EPOC_INFO (0x62): INFO_SERIAL_NUMBER_READ_RESP [id=0x01 utid=0x43 len=20]:
ofonod[846]:     * 43 01 00 01 43 10 00 09 F3 FF FF FF FF FF FF 0F : .C...C...........
ofonod[846]:     * F0 00 00 00                                     : ....
ofonod[846]: PN_SIM (0x09): SIM_STATUS_RESP [id=0xC1 utid=0x02 len=8]:
ofonod[846]:     * 02 C1 00 01 01 00 00 00                         : .........
ofonod[846]: gisi: Success RESP to 0x605dc0 [res=0x09, id=0xC1, utid=0x02]
ofonod[846]: PN_SECURITY (0x08): SEC_STATE_REQ [id=0x11 utid=0x02 len=4]:
ofonod[846]:     * 02 11 00 00                                     : .....
ofonod[846]: PN_PHONE_INFO (0x1B): INFO_PRODUCT_INFO_READ_RESP [id=0x16 utid=0x03 len=20]:
ofonod[846]:     * 03 16 00 01 01 10 00 0B 4E 6F 6B 69 61 20 4E 39 : .........Nokia.N9
ofonod[846]:     * 30 30 00 00                                     : 00..
ofonod[846]: gisi: Success RESP to 0x60f680 [res=0x1B, id=0x16, utid=0x03]
ofonod[846]: PN_PHONE_INFO (0x1B): INFO_VERSION_READ_REQ [id=0x07 utid=0x04 len=8]:
ofonod[846]:     * 04 07 00 01 00 00 00 00                         : .........
ofonod[846]: PN_SECURITY (0x08): SEC_STATE_RESP [id=0x12 utid=0x02 len=8]:
ofonod[846]:     * 02 12 05 12 00 00 00 00                         : .........
ofonod[846]: gisi: Success RESP to 0x607840 [res=0x08, id=0x12, utid=0x02]
ofonod[846]: drivers/isimodem/sim.c:sec_state_resp_cb() SEC_STATE_RESP(cause=0x5)
ofonod[846]: drivers/isimodem/sim.c:sec_state_resp_cb() SEC_STARTUP_OK
ofonod[846]: drivers/isimodem/sim.c:sim_set_passwd_state() new state "none"
ofonod[846]: PN_SIM (0x09): SIM_DYNAMIC_FLAGS_REQ [id=0x29 utid=0x03 len=4]:
ofonod[846]:     * 03 29 35 00                                     : ..)5.
ofonod[846]: PN_PHONE_INFO (0x1B): INFO_VERSION_READ_RESP [id=0x08 utid=0x04 len=48]:
ofonod[846]:     * 04 08 00 01 48 2C 00 28 56 20 49 43 50 52 38 32 : .....H,.(V.ICPR82
ofonod[846]:     * 5F 31 30 77 30 38 0A 32 35 2D 30 32 2D 31 30 0A : _10w08.25-02-10.
ofonod[846]:     * 52 58 2D 35 31 0A 28 63 29 20 4E 6F 6B 69 61 00 : RX-51.(c).Nokia.
ofonod[846]: gisi: Success RESP to 0x60f6c8 [res=0x1B, id=0x08, utid=0x04]
ofonod[846]: PN_PHONE_INFO (0x1B): INFO_SERIAL_NUMBER_READ_REQ [id=0x00 utid=0x05 len=3]:
ofonod[846]:     * 05 00 41                                        : ...A
ofonod[846]: PN_PHONE_INFO (0x1B): INFO_SERIAL_NUMBER_READ_RESP [id=0x01 utid=0x05 len=24]:
ofonod[846]:     * 05 01 00 01 41 14 00 10 33 35 36 39 33 38 30 33 : .....A...35693803
ofonod[846]:     * 35 32 32 30 31 30 33 00                         : 5220103.
ofonod[846]: gisi: Success RESP to 0x60f958 [res=0x1B, id=0x01, utid=0x05]
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6FB7 not implemented
ofonod[846]: src/voicecall.c:ecc_g2_read_cb() 0
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6FB7 not implemented
ofonod[846]: src/voicecall.c:ecc_g3_read_cb() 0
ofonod[846]: drivers/isimodem/sim.c:fake_file_info() Returning static file info for 2FE2
ofonod[846]: PN_SIM (0x09): SIM_READ_FIELD_REQ [id=0xBA utid=0x04 len=3]:
ofonod[846]:     * 04 BA 66                                        : ...f
ofonod[846]: PN_SIM (0x09): SIM_READ_FIELD_RESP [id=0xBB utid=0x04 len=14]:
ofonod[846]:     * 04 BB 66 01 98 53 08 11 00 74 44 53 49 F6       : ...f..S...tDSI.
ofonod[846]: gisi: Success RESP to 0x60f958 [res=0x09, id=0xBB, utid=0x04]
ofonod[846]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, tocopy: 10
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6F05 not implemented
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 2F05 not implemented
ofonod[846]: drivers/isimodem/sim.c:isi_query_passwd_state() passwd_state 0
ofonod[846]: Querying PIN authentication state failed
ofonod[846]: PN_SIM (0x09): SIM_DYNAMIC_FLAGS_RESP [id=0x2A utid=0x03 len=8]:
ofonod[846]:     * 03 2A 35 24 00 00 00 00                         : ..*5$....
ofonod[846]: gisi: Success RESP to 0x620a38 [res=0x09, id=0x2A, utid=0x03]
ofonod[846]: drivers/isimodem/sim.c:sim_resp_status() Request failed: SIM_SERV_DATA_NOT_AVAIL
ofonod[846]: drivers/isimodem/sim.c:isi_query_passwd_state() passwd_state 0
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6FAE not implemented
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6FAD not implemented
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6F16 not implemented
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6F38 not implemented
ofonod[846]: PN_SIM (0x09): SIM_IMSI_REQ_READ_IMSI [id=0x1D utid=0x05 len=3]:
ofonod[846]:     * 05 1D 2D                                        : ...-
ofonod[846]: PN_SIM (0x09): SIM_IMSI_RESP_READ_IMSI [id=0x1E utid=0x05 len=13]:
ofonod[846]:     * 05 1E 2D 01 08 29 44 19 15 17 64 76 74          : ...-..)D...dvt
ofonod[846]: gisi: Success RESP to 0x607840 [res=0x09, id=0x1E, utid=0x05]
ofonod[846]: src/modem.c:modem_change_state() old state: 1, new state: 2
ofonod[846]: plugins/n900.c:n900_post_sim() (0x60c760) with phonet0
ofonod[846]: gisi: Ping sent COMMON (0x60c8b8) [res=0x06]
ofonod[846]: gisi: Ping sent COMMON (0x60fa78) [res=0x32]
ofonod[846]: gisi: Ping sent COMMON (0x620dc8) [res=0xB4]
ofonod[846]: PN_SS (0x06): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 09 02 00 00 00                         : .........
ofonod[846]: gisi: Success COMMON to 0x60c8b8 [res=0x06, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/call-forwarding.c:reachable_cb() QSO: PN_SS [0x06] v009.002
ofonod[846]: PN_GSS (0x32): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 07 00 00 00 00                         : .........
ofonod[846]: gisi: Success COMMON to 0x60fa78 [res=0x32, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/radio-settings.c:gss_reachable_cb() QSO: PN_GSS [0x32] v007.000
ofonod[846]: plugins/n900.c:n900_set_online() (0x60c760) with phonet0
ofonod[846]: PN_MTC (0x15): MTC_STATE_REQ [id=0x01 utid=0x04 len=4]:
ofonod[846]:     * 04 01 01 00                                     : .....
ofonod[846]: PN_WRAN (0xB4): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 01 0C 00 00 00                         : .........
ofonod[846]: gisi: Success COMMON to 0x620dc8 [res=0xB4, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/radio-settings.c:wran_reachable_cb() QSO: PN_WRAN [0xB4] v001.012
ofonod[846]: drivers/isimodem/radio-settings.c:wran_reachable_cb() PN_WRAN object = 0x002e
ofonod[846]: PN_<UNKNOWN> (0x3A): UNKNOWN [id=0x1F utid=0x00 len=12]:
ofonod[846]:     * 00 1F 00 01 00 01 00 02 00 0A 00 00             : .............
ofonod[846]: drivers/isimodem/radio-settings.c:update_fast_dormancy() 3G PS quick release disabled
ofonod[846]: gisi: Subscribed for IND (0x60f6f0) [res=0x31, id=0x25]
ofonod[846]: PN_MTC (0x15): MTC_STATE_INFO_IND [id=0xC0 utid=0x00 len=4]:
ofonod[846]:     * 00 C0 01 03                                     : .....
ofonod[846]: gisi: Success IND to 0x60dac0 [res=0x15, id=0xC0, utid=0x00]
ofonod[846]: plugins/n900.c:mtc_state_ind_cb() target modem state: MTC_NORMAL (0x01)
ofonod[846]: PN_MTC (0x15): MTC_STATE_RESP [id=0x64 utid=0x04 len=4]:
ofonod[846]:     * 04 64 00 00                                     : ..d..
ofonod[846]: gisi: Success RESP to 0x60fad0 [res=0x15, id=0x64, utid=0x04]
ofonod[846]: plugins/n900.c:mtc_state_cb() MTC cause: MTC_OK (0x00)
ofonod[846]: PN_MTC (0x15): MTC_<UNKNOWN> [id=0xC2 utid=0x00 len=4]:
ofonod[846]:     * 00 C2 01 03                                     : .....
ofonod[846]: PN_MTC (0x15): MTC_<UNKNOWN> [id=0xC2 utid=0x00 len=4]:
ofonod[846]:     * 00 C2 01 04                                     : .....
ofonod[846]: PN_MTC (0x15): MTC_STATE_INFO_IND [id=0xC0 utid=0x00 len=4]:
ofonod[846]:     * 00 C0 01 04                                     : .....
ofonod[846]: gisi: Success IND to 0x60dac0 [res=0x15, id=0xC0, utid=0x00]
ofonod[846]: plugins/n900.c:mtc_state_ind_cb() current modem state: MTC_NORMAL (0x01)
ofonod[846]: src/modem.c:modem_change_state() old state: 2, new state: 3
ofonod[846]: plugins/n900.c:n900_post_online() (0x60c760) with phonet0
ofonod[846]: gisi: Ping sent COMMON (0x620e30) [res=0x0A]
ofonod[846]: gisi: Ping sent COMMON (0x621100) [res=0xC8]
ofonod[846]: gisi: Subscribed for IND (0x621368) [res=0x02, id=0x22]
ofonod[846]: gisi: Subscribed for IND (0x621390) [res=0x02, id=0x43]
ofonod[846]: gisi: Subscribed to NTF (0x6213b8) [res=0x02, id=0x08]
ofonod[846]: gisi: Ping sent COMMON (0x6213e0) [res=0x02]
ofonod[846]: gisi: Ping sent COMMON (0x621540) [res=0x02]
ofonod[846]: gisi: Ping sent COMMON (0x621a00) [res=0x31]
ofonod[846]: PN_NETWORK (0x0A): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 0E 02 00 00 00                         : .........
ofonod[846]: gisi: Success COMMON to 0x620e30 [res=0x0A, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/network-registration.c:pn_network_reachable_cb() QSO: PN_NETWORK [0x0A] v014.002
ofonod[846]: gisi: Subscribed for IND (0x621ad0) [res=0x0A, id=0x1E]
ofonod[846]: gisi: Subscribed for IND (0x621af8) [res=0x0A, id=0x43]
ofonod[846]: gisi: Subscribed for IND (0x621b20) [res=0x0A, id=0x35]
ofonod[846]: gisi: Subscribed for IND (0x621b48) [res=0x0A, id=0x27]
ofonod[846]: gisi: Subscribed for IND (0x621b70) [res=0x0A, id=0xE2]
ofonod[846]: gisi: Subscribed for IND (0x621b98) [res=0x0A, id=0x02]
ofonod[846]: PN_NETWORK (0x0A): NET_RAT_REQ [id=0x36 utid=0x02 len=3]:
ofonod[846]:     * 02 36 00                                        : ..6.
ofonod[846]: PN_MODEM_NETWORK (0xC8): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 14 F0 01 00 00 00                         : .........
ofonod[846]: gisi: No such file or directory COMMON to 0x621100 [res=0xC8, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/network-registration.c:pn_modem_network_reachable_cb() PN_MODEM_NETWORK not reachable, removing client
ofonod[846]: PN_SMS (0x02): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 04 01 00 00 00                         : .........
ofonod[846]: gisi: Success COMMON to 0x621540 [res=0x02, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/cbs.c:cbs_reachable_cb() QSO: PN_SMS [0x02] v004.001
ofonod[846]: PN_SMS (0x02): SMS_GSM_CB_ROUTING_REQ [id=0x0B utid=0x02 len=11]:
ofonod[846]:     * 02 0B 01 0B 01 00 00 00 00 00 00                : ............
ofonod[846]: gisi: Success COMMON to 0x6213e0 [res=0x02, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/sms.c:sms_reachable_cb() QSO: PN_SMS [0x02] v004.001
ofonod[846]: PN_SMS (0x02): SMS_PP_ROUTING_REQ [id=0x06 utid=0x03 len=12]:
ofonod[846]:     * 03 06 01 01 0D 08 06 06 00 00 00 00             : .............
ofonod[846]: PN_GPDS (0x31): COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[846]:     * 01 F0 13 11 1A 00 00 00                         : .........
ofonod[846]: gisi: Success COMMON to 0x621a00 [res=0x31, id=0xF0, utid=0x01]
ofonod[846]: drivers/isimodem/gprs.c:gpds_reachable_cb() QSO: PN_GPDS [0x31] v017.026
ofonod[846]: gisi: Subscribed for IND (0x621590) [res=0x31, id=0x18]
ofonod[846]: gisi: Subscribed for IND (0x6213e0) [res=0x31, id=0x1E]
ofonod[846]: src/network.c:__ofono_netreg_add_status_watch() 0x620dc8
ofonod[846]: PN_PHONE_INFO (0x1B): INFO_PP_READ_REQ [id=0x02 utid=0x06 len=12]:
ofonod[846]:     * 06 02 00 01 47 08 00 01 CA 00 00 00             : .....G.......
ofonod[846]: PN_NETWORK (0x0A): NET_RAT_RESP [id=0x37 utid=0x02 len=4]:
ofonod[846]:     * 02 37 02 00                                     : ..7..
ofonod[846]: gisi: Success RESP to 0x621c50 [res=0x0A, id=0x37, utid=0x02]
ofonod[846]: drivers/isimodem/network-registration.c:check_response_status() Request failed: NET_CAUSE_INVALID_PARAMETER
ofonod[846]: src/network.c:init_registration_status() Error during registration status query
ofonod[846]: PN_SMS (0x02): SMS_GSM_CB_ROUTING_RESP [id=0x0C utid=0x02 len=4]:
ofonod[846]:     * 02 0C 00 00                                     : .....
ofonod[846]: gisi: Success RESP to 0x620e30 [res=0x02, id=0x0C, utid=0x02]
ofonod[846]: gisi: Subscribed to NTF (0x621a00) [res=0x02, id=0x0D]
ofonod[846]: src/cbs.c:cbs_got_imsi() Got IMSI: 244915171466747
ofonod[846]: src/network.c:__ofono_netreg_add_status_watch() 0x620dc8
ofonod[846]: Registered handle for channel 1: 0x10001
ofonod[846]: PN_SMS (0x02): SMS_PP_ROUTING_RESP [id=0x07 utid=0x03 len=4]:
ofonod[846]:     * 03 07 00 00                                     : .....
ofonod[846]: gisi: Success RESP to 0x621d58 [res=0x02, id=0x07, utid=0x03]
ofonod[846]: src/network.c:__ofono_netreg_add_status_watch() 0x620dc8
ofonod[846]: PN_SMS (0x02): SMS_SETTINGS_UPDATE_REQ [id=0x30 utid=0x04 len=12]:
ofonod[846]:     * 04 30 02 01 00 23 00 08 01 02 00 00             : ..0...#......
ofonod[846]: src/sms.c:sms_restore_tx_queue() 
ofonod[846]: plugins/push-notification.c:sms_watch() registered
ofonod[846]: plugins/smart-messaging.c:sms_watch() registered
ofonod[846]: PN_<UNKNOWN> (0x43): COMMON_MESSAGE [id=0xF0 utid=0x06 len=4]:
ofonod[846]:     * 06 F0 17 02                                     : .....
ofonod[846]: gisi: firewall blocked message 0x17
ofonod[846]: PN_<UNKNOWN> (0x43): COMMON_MESSAGE [id=0xF0 utid=0x04 len=4]:
ofonod[846]:     * 04 F0 17 30                                     : ....0
ofonod[846]: gisi: firewall blocked message 0x17
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6F40 not implemented
ofonod[846]: gisi: Success COMMON to 0x60f908 [res=0x09, id=0x00, utid=0x00]
ofonod[846]: drivers/isimodem/phonebook.c:reachable_cb() QSO: PN_SIM [0x09] v-01.-01
ofonod[846]: gisi: Success COMMON to 0x621648 [res=0x06, id=0x00, utid=0x00]
ofonod[846]: drivers/isimodem/ussd.c:ussd_reachable_cb() QSO: PN_SS [0x06] v009.002
ofonod[846]: gisi: Subscribed for IND (0x621d58) [res=0x06, id=0x06]
ofonod[846]: gisi: Success COMMON to 0x621750 [res=0x06, id=0x00, utid=0x00]
ofonod[846]: drivers/isimodem/call-settings.c:reachable_cb() QSO: PN_SS [0x06] v009.002
ofonod[846]: gisi: Success COMMON to 0x621868 [res=0x06, id=0x00, utid=0x00]
ofonod[846]: drivers/isimodem/call-barring.c:reachable_cb() QSO: PN_SS [0x06] v009.002
ofonod[846]: gisi: Success COMMON to 0x620ef0 [res=0x09, id=0x00, utid=0x00]
ofonod[846]: drivers/isimodem/sms.c:sim_reachable_cb() QSO: PN_SIM [0x09] v-01.-01
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6F49 not implemented
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 4F20 not implemented
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6F13 not implemented
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6FC5 not implemented
ofonod[846]: PN_SIM (0x09): SIM_SERV_PROV_NAME_REQ [id=0x21 utid=0x06 len=4]:
ofonod[846]:     * 06 21 2C 00                                     : ..!,.
ofonod[846]: PN_SIM (0x09): SIM_SERV_PROV_NAME_RESP [id=0x22 utid=0x06 len=40]:
ofonod[846]:     * 06 22 2C 24 00 00 00 00 00 00 00 00 00 00 00 00 : ..",$............
ofonod[846]:     * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
ofonod[846]:     * 00 00 00 00 00 00 00 00                         : ........
ofonod[846]: gisi: Success RESP to 0x60f918 [res=0x09, id=0x22, utid=0x06]
ofonod[846]: drivers/isimodem/sim.c:sim_resp_status() Request failed: SIM_SERV_DATA_NOT_AVAIL
ofonod[846]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6F48 not implemented
ofonod[846]: drivers/isimodem/cbs.c:isi_set_topics() Not implemented (topics=4352-4356), all topics accepted
ofonod[846]: PN_NETWORK (0x0A): NET_CHANNEL_INFO_IND [id=0x2C utid=0x00 len=8]:
ofonod[846]:     * 00 2C 00 01 28 04 2A 55                         : ..,..(.*U
ofonod[846]: plugins/udev.c:remove_modem() /devices/platform/musb_hdrc/gadget/net/upnlink0
ofonod[846]: plugins/udev.c:remove_modem() /devices/platform/musb_hdrc/gadget/tty/ttyGS0
ofonod[846]: plugins/udev.c:remove_modem() /devices/platform/musb_hdrc/gadget/tty/ttyGS1
ofonod[846]: plugins/udev.c:remove_modem() /devices/platform/musb_hdrc/gadget/tty/ttyGS2
ofonod[846]: plugins/udev.c:remove_modem() /devices/platform/musb_hdrc/gadget/net/usb0
ofonod[846]: PN_NETWORK (0x0A): NET_CHANNEL_INFO_IND [id=0x2C utid=0x00 len=8]:
ofonod[846]:     * 00 2C 00 01 28 04 2A 55                         : ..,..(.*U
ofonod[846]: PN_NETWORK (0x0A): NET_<UNKNOWN> [id=0x3F utid=0x00 len=12]:
ofonod[846]:     * 00 3F 00 01 3C 08 01 00 00 00 00 00             : ..?..<.......
ofonod[846]: PN_GPDS (0x31): GPDS_ATTACH_IND [id=0x15 utid=0x00 len=3]:
ofonod[846]:     * 00 15 01                                        : ....
ofonod[846]: PN_GPDS (0x31): GPDS_TRANSFER_STATUS_IND [id=0x1E utid=0x00 len=4]:
ofonod[846]:     * 00 1E 01 02                                     : .....
ofonod[846]: gisi: Success IND to 0x6213e0 [res=0x31, id=0x1E, utid=0x00]
ofonod[846]: drivers/isimodem/gprs.c:suspend_notify() transfer status: GPDS_TRANSFER_AVAIL (0x01) cause GPDS_TRANSFER_CAUSE_ATTACHED (0x02)
ofonod[846]: PN_NETWORK (0x0A): NET_RAT_IND [id=0x35 utid=0x00 len=12]:
ofonod[846]:     * 00 35 00 01 2C 08 02 00 00 00 00 00             : ..5..,.......
ofonod[846]: gisi: Success IND to 0x621b20 [res=0x0A, id=0x35, utid=0x00]
ofonod[846]: PN_NETWORK (0x0A): NET_OPER_NAME_READ_REQ [id=0xE5 utid=0x03 len=8]:
ofonod[846]:     * 03 E5 00 3F 00 00 00 00                         : ....?....
ofonod[846]: PN_NETWORK (0x0A): NET_RSSI_GET_REQ [id=0x0B utid=0x04 len=4]:
ofonod[846]:     * 04 0B 00 02                                     : .....
ofonod[846]: src/cbs.c:cbs_location_changed() 1, 0, 0, 2, (null)(null)
ofonod[846]: src/gprs.c:netreg_status_changed() 1
ofonod[846]: PN_GPDS (0x31): GPDS_ATTACH_REQ [id=0x13 utid=0x02 len=3]:
ofonod[846]:     * 02 13 00                                        : ....
ofonod[846]: PN_NETWORK (0x0A): NET_OPER_NAME_READ_RESP [id=0xE6 utid=0x03 len=34]:
ofonod[846]:     * 03 E6 00 00 00 00 00 02 0C 08 42 F4 19 02 00 00 : ...........B.....
ofonod[846]:     * E7 10 00 06 00 53 00 4F 00 4E 00 45 00 52 00 41 : .....S.O.N.E.R.A
ofonod[846]:     * 00 00                                           : ..
ofonod[846]: gisi: Success RESP to 0x60f690 [res=0x0A, id=0xE6, utid=0x03]
ofonod[846]: src/network.c:current_operator_callback() 0x620dc8, (nil)
ofonod[846]: src/cbs.c:cbs_location_changed() 1, 0, 0, 2, 24491
ofonod[846]: src/cbs.c:cbs_location_changed() 1, 0, 0
ofonod[846]: src/gprs.c:netreg_status_changed() 1
ofonod[846]: PN_NETWORK (0x0A): NET_RSSI_IND [id=0x1E utid=0x00 len=4]:
ofonod[846]:     * 00 1E 64 44                                     : ...dD
ofonod[846]: gisi: Success IND to 0x621ad0 [res=0x0A, id=0x1E, utid=0x00]
ofonod[846]: PN_NETWORK (0x0A): NET_RSSI_GET_RESP [id=0x0C utid=0x04 len=8]:
ofonod[846]:     * 04 0C 00 01 04 04 64 44                         : .......dD
ofonod[846]: gisi: Success RESP to 0x620ef0 [res=0x0A, id=0x0C, utid=0x04]
ofonod[846]: PN_NETWORK (0x0A): NET_CELL_INFO_IND [id=0x42 utid=0x00 len=24]:
ofonod[846]:     * 00 42 00 01 47 14 13 8C 00 04 C9 5F 00 00 00 01 : ..B..G......_....
ofonod[846]:     * 42 F4 19 00 00 00 00 00                         : B.......
ofonod[846]: gisi: Connection timed out RESP to 0x623288 [res=0x00, id=0x00, utid=0x00]
ofonod[846]: drivers/isimodem/gprs.c:create_contexts() 11 GPRS contexts created
ofonod[846]: gisi: Connection timed out RESP to 0x60ee40 [res=0x00, id=0x00, utid=0x00]
ofonod[846]: drivers/isimodem/sms.c:check_sms() Error: Connection timed out
ofonod[846]: Error bootstrapping SMS Bearer Preference
ofonod[846]: PN_GPDS (0x31): GPDS_ATTACH_RESP [id=0x14 utid=0x02 len=5]:
ofonod[846]:     * 02 14 01 00 01                                  : ......
ofonod[846]: gisi: Success RESP to 0x620fb0 [res=0x31, id=0x14, utid=0x02]
ofonod[846]: PN_GPDS (0x31): GPDS_CONFIGURE_REQ [id=0x11 utid=0x03 len=8]:
ofonod[846]:     * 03 11 01 00 FF FF 00 00                         : .........
ofonod[846]: src/gprs.c:gprs_attach_callback() /n9000 error = 0
ofonod[846]: PN_GPDS (0x31): GPDS_STATUS_REQ [id=0x19 utid=0x04 len=2]:
ofonod[846]:     * 04 19                                           : ...
ofonod[846]: PN_NETWORK (0x0A): NET_CIPHERING_IND [id=0x20 utid=0x00 len=12]:
ofonod[846]:     * 00 20 01 01 29 08 02 02 02 00 00 00             : .....).......
ofonod[846]: PN_GPDS (0x31): GPDS_CONFIGURE_RESP [id=0x12 utid=0x03 len=3]:
ofonod[846]:     * 03 12 01                                        : ....
ofonod[846]: gisi: Success RESP to 0x60ee40 [res=0x31, id=0x12, utid=0x03]
ofonod[846]: PN_NETWORK (0x0A): NET_REG_STATUS_IND [id=0xE2 utid=0x00 len=52]:
ofonod[846]:     * 00 E2 00 02 00 18 00 02 00 00 00 06 00 53 00 4F : ..............S.O
ofonod[846]:     * 00 4E 00 45 00 52 00 41 01 00 01 00 09 18 13 8C : .N.E.R.A........
ofonod[846]:     * 00 04 C9 5F 42 F4 19 02 00 01 02 00 01 00 00 04 : ..._B...........
ofonod[846]:     * 00 00 01 00                                     : ....
ofonod[846]: gisi: Success IND to 0x621b70 [res=0x0A, id=0xE2, utid=0x00]
ofonod[846]: PN_NETWORK (0x0A): NET_OPER_NAME_READ_REQ [id=0xE5 utid=0x05 len=8]:
ofonod[846]:     * 05 E5 00 3F 00 00 00 00                         : ....?....
ofonod[846]: PN_NETWORK (0x0A): NET_RSSI_GET_REQ [id=0x0B utid=0x06 len=4]:
ofonod[846]:     * 06 0B 00 02                                     : .....
ofonod[846]: src/cbs.c:cbs_location_changed() 1, 5004, 313695, 2, 24491
ofonod[846]: src/cbs.c:cbs_location_changed() 0, 1, 0
ofonod[846]: src/gprs.c:netreg_status_changed() 1
ofonod[846]: PN_GPDS (0x31): GPDS_STATUS_RESP [id=0x1A utid=0x04 len=14]:
ofonod[846]:     * 04 1A 01 00 00 00 00 00 00 00 00 00 01 02       : ...............
ofonod[846]: gisi: Success RESP to 0x623288 [res=0x31, id=0x1A, utid=0x04]
ofonod[846]: drivers/isimodem/gprs.c:suspend_notify() transfer status: GPDS_TRANSFER_AVAIL (0x01) cause GPDS_TRANSFER_CAUSE_ATTACHED (0x02)
ofonod[846]: src/gprs.c:registration_status_cb() /n9000 error 0 status 1
ofonod[846]: src/gprs.c:ofono_gprs_status_notify() /n9000 status 1
ofonod[846]: PN_NETWORK (0x0A): NET_<UNKNOWN> [id=0x31 utid=0x00 len=4]:
ofonod[846]:     * 00 31 00 00                                     : ..1..
ofonod[846]: PN_NETWORK (0x0A): NET_OPER_NAME_READ_RESP [id=0xE6 utid=0x05 len=34]:
ofonod[846]:     * 05 E6 00 00 00 00 00 02 0C 08 42 F4 19 02 00 00 : ...........B.....
ofonod[846]:     * E7 10 00 06 00 53 00 4F 00 4E 00 45 00 52 00 41 : .....S.O.N.E.R.A
ofonod[846]:     * 00 00                                           : ..
ofonod[846]: gisi: Success RESP to 0x6238a8 [res=0x0A, id=0xE6, utid=0x05]
ofonod[846]: src/network.c:current_operator_callback() 0x620dc8, 0x6240f0
ofonod[846]: PN_NETWORK (0x0A): NET_REG_STATUS_IND [id=0xE2 utid=0x00 len=52]:
ofonod[846]:     * 00 E2 00 02 00 18 00 02 00 00 00 06 00 53 00 4F : ..............S.O
ofonod[846]:     * 00 4E 00 45 00 52 00 41 01 00 01 00 09 18 13 8C : .N.E.R.A........
ofonod[846]:     * 00 04 C9 5F 42 F4 19 02 00 01 02 01 01 00 00 04 : ..._B...........
ofonod[846]:     * 00 00 01 00                                     : ....
ofonod[846]: gisi: Success IND to 0x621b70 [res=0x0A, id=0xE2, utid=0x00]
ofonod[846]: PN_NETWORK (0x0A): NET_OPER_NAME_READ_REQ [id=0xE5 utid=0x07 len=8]:
ofonod[846]:     * 07 E5 00 3F 00 00 00 00                         : ....?....
ofonod[846]: PN_NETWORK (0x0A): NET_RSSI_GET_REQ [id=0x0B utid=0x08 len=4]:
ofonod[846]:     * 08 0B 00 02                                     : .....
ofonod[846]: src/cbs.c:cbs_location_changed() 1, 5004, 313695, 2, 24491
ofonod[846]: src/cbs.c:cbs_location_changed() 0, 0, 1
ofonod[846]: src/gprs.c:netreg_status_changed() 1
ofonod[846]: PN_NETWORK (0x0A): NET_RSSI_GET_RESP [id=0x0C utid=0x06 len=8]:
ofonod[846]:     * 06 0C 00 01 04 04 64 44                         : .......dD
ofonod[846]: gisi: Success RESP to 0x623878 [res=0x0A, id=0x0C, utid=0x06]
ofonod[846]: PN_NETWORK (0x0A): NET_TIME_IND [id=0x27 utid=0x00 len=17]:
ofonod[846]:     * 00 27 00 01 10 0C 0B 05 1E 13 1B 06 0C 01 00 00 : ..'..............
ofonod[846]:     * 00                                              : .
ofonod[846]: gisi: Success IND to 0x621b48 [res=0x0A, id=0x27, utid=0x00]
ofonod[846]: PN_NETWORK (0x0A): NET_OPER_NAME_READ_RESP [id=0xE6 utid=0x07 len=34]:
ofonod[846]:     * 07 E6 00 00 00 00 00 02 0C 08 42 F4 19 02 00 00 : ...........B.....
ofonod[846]:     * E7 10 00 06 00 53 00 4F 00 4E 00 45 00 52 00 41 : .....S.O.N.E.R.A
ofonod[846]:     * 00 00                                           : ..
ofonod[846]: gisi: Success RESP to 0x60ee40 [res=0x0A, id=0xE6, utid=0x07]
ofonod[846]: src/network.c:current_operator_callback() 0x620dc8, 0x6240f0
ofonod[846]: PN_NETWORK (0x0A): NET_CIPHERING_IND [id=0x20 utid=0x00 len=5]:
ofonod[846]:     * 00 20 02 00 00                                  : ......
ofonod[846]: PN_NETWORK (0x0A): NET_RSSI_GET_RESP [id=0x0C utid=0x08 len=8]:
ofonod[846]:     * 08 0C 00 01 04 04 64 44                         : .......dD
ofonod[846]: gisi: Success RESP to 0x6238a8 [res=0x0A, id=0x0C, utid=0x08]
ofonod[846]: PN_NETWORK (0x0A): NET_<UNKNOWN> [id=0x3F utid=0x00 len=12]:
ofonod[846]:     * 00 3F 00 01 3C 08 00 00 00 00 00 00             : ..?..<.......
ofonod[846]: PN_NETWORK (0x0A): NET_CHANNEL_INFO_IND [id=0x2C utid=0x00 len=8]:
ofonod[846]:     * 00 2C 00 01 28 04 2A 55                         : ..,..(.*U
ofonod[846]: PN_GPDS (0x31): GPDS_CONFIGURATION_INFO_IND [id=0x32 utid=0x00 len=8]:
ofonod[846]:     * 00 32 01 00 01 55 55 55                         : ..2...UUU
ofonod[846]: gisi: Success COMMON to 0x60f680 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x621100 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x624768 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x624908 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x624ae0 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x624cb8 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x624e90 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x625068 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x625240 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x625620 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: gisi: Success COMMON to 0x6257f8 [res=0x31, id=0x00, utid=0x00]
ofonod[846]: Sms read ack received
ofonod[846]: updating tail: 12
ofonod[846]: PN_NETWORK (0x0A): NET_CHANNEL_INFO_IND [id=0x2C utid=0x00 len=8]:
ofonod[846]:     * 00 2C 00 01 28 04 2A 55                         : ..,..(.*U
ofonod[846]: PN_NETWORK (0x0A): NET_REG_STATUS_IND [id=0xE2 utid=0x00 len=52]:
ofonod[846]:     * 00 E2 00 02 00 18 00 02 00 00 00 06 00 53 00 4F : ..............S.O
ofonod[846]:     * 00 4E 00 45 00 52 00 41 01 00 01 00 09 18 13 8C : .N.E.R.A........
ofonod[846]:     * 00 04 C9 5E 42 F4 19 02 00 01 02 01 01 00 00 04 : ...^B...........
ofonod[846]:     * 00 00 01 00                                     : ....
ofonod[846]: gisi: Success IND to 0x621b70 [res=0x0A, id=0xE2, utid=0x00]
ofonod[846]: PN_NETWORK (0x0A): NET_OPER_NAME_READ_REQ [id=0xE5 utid=0x09 len=8]:
ofonod[846]:     * 09 E5 00 3F 00 00 00 00                         : ....?....
ofonod[846]: PN_NETWORK (0x0A): NET_RSSI_GET_REQ [id=0x0B utid=0x0A len=4]:
ofonod[846]:     * 0A 0B 00 02                                     : .....
ofonod[846]: src/cbs.c:cbs_location_changed() 1, 5004, 313694, 2, 24491
ofonod[846]: src/cbs.c:cbs_location_changed() 0, 0, 1
ofonod[846]: src/gprs.c:netreg_status_changed() 1
ofonod[846]: PN_NETWORK (0x0A): NET_OPER_NAME_READ_RESP [id=0xE6 utid=0x09 len=34]:
ofonod[846]:     * 09 E6 00 00 00 00 00 02 0C 08 42 F4 19 02 00 00 : ...........B.....
ofonod[846]:     * E7 10 00 06 00 53 00 4F 00 4E 00 45 00 52 00 41 : .....S.O.N.E.R.A
ofonod[846]:     * 00 00                                           : ..
ofonod[846]: gisi: Success RESP to 0x60ee40 [res=0x0A, id=0xE6, utid=0x09]
ofonod[846]: src/network.c:current_operator_callback() 0x620dc8, 0x6240f0
ofonod[846]: PN_NETWORK (0x0A): NET_CELL_INFO_IND [id=0x42 utid=0x00 len=24]:
ofonod[846]:     * 00 42 00 01 47 14 13 8C 00 04 C9 5E 00 00 00 01 : ..B..G......^....
ofonod[846]:     * 42 F4 19 00 00 00 00 00                         : B.......
ofonod[846]: PN_NETWORK (0x0A): NET_RSSI_GET_RESP [id=0x0C utid=0x0A len=8]:
ofonod[846]:     * 0A 0C 00 01 04 04 64 44                         : .......dD
ofonod[846]: gisi: Success RESP to 0x620fb0 [res=0x0A, id=0x0C, utid=0x0A]
ofonod[846]: PN_NETWORK (0x0A): NET_CHANNEL_INFO_IND [id=0x2C utid=0x00 len=8]:
ofonod[846]:     * 00 2C 00 01 28 04 2A 55                         : ..,..(.*U
ofonod[846]: PN_NETWORK (0x0A): NET_<UNKNOWN> [id=0x3F utid=0x00 len=12]:
ofonod[846]:     * 00 3F 00 01 3C 08 01 00 00 00 00 00             : ..?..<.......
ofonod[846]: PN_NETWORK (0x0A): NET_CIPHERING_IND [id=0x20 utid=0x00 len=12]:
ofonod[846]:     * 00 20 01 01 29 08 02 02 02 00 00 00             : .....).......
ofonod[846]: PN_CALL (0x01): CALL_SERVER_STATUS_IND [id=0x10 utid=0x01 len=4]:
ofonod[846]:     * 01 10 01 00                                     : .....
ofonod[846]: gisi: Success IND to 0x604a30 [res=0x01, id=0x10, utid=0x01]
ofonod[846]: src/audio-settings.c:ofono_audio_settings_active_notify() active 1
ofonod[846]: PN_CALL (0x01): CALL_COMING_IND [id=0x03 utid=0x02 len=36]:
ofonod[846]:     * 02 03 01 02 07 04 01 01 01 1C 01 30 00 0A 00 30 : ............0...0
ofonod[846]:     * 00 34 00 30 00 30 00 39 00 32 00 39 00 35 00 30 : .4.0.0.9.2.9.5.0
ofonod[846]:     * 00 37 00 00                                     : .7..
ofonod[846]: PN_CALL (0x01): CALL_STATUS_IND [id=0x0F utid=0x03 len=44]:
ofonod[846]:     * 03 0F 01 04 0A 04 02 00 07 04 01 01 01 1C 01 30 : ................0
ofonod[846]:     * 00 0A 00 30 00 34 00 30 00 30 00 39 00 32 00 39 : ...0.4.0.0.9.2.9
ofonod[846]:     * 00 35 00 30 00 37 00 00 BE 04 00 00             : .5.0.7......
ofonod[846]: gisi: Success IND to 0x60e970 [res=0x01, id=0x0F, utid=0x03]
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_notify() called with status=CALL_STATUS_COMING (0x02)
ofonod[846]: PN_CALL (0x01): CALL_STATUS_IND [id=0x0F utid=0x04 len=12]:
ofonod[846]:     * 04 0F 01 02 0A 04 03 00 07 04 01 01             : .............
ofonod[846]: gisi: Success IND to 0x60e970 [res=0x01, id=0x0F, utid=0x04]
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_notify() called with status=CALL_STATUS_PROCEEDING (0x03)
ofonod[846]: PN_CALL (0x01): CALL_MT_ALERT_IND [id=0x05 utid=0x05 len=4]:
ofonod[846]:     * 05 05 01 00                                     : .....
ofonod[846]: PN_CALL (0x01): CALL_STATUS_IND [id=0x0F utid=0x06 len=12]:
ofonod[846]:     * 06 0F 01 02 0A 04 05 00 07 04 01 01             : .............
ofonod[846]: gisi: Success IND to 0x60e970 [res=0x01, id=0x0F, utid=0x06]
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_notify() called with status=CALL_STATUS_MT_ALERTING (0x05)
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_status_to_clcc() statuses 5 3
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_notify() id=1,terminated,4,"0400929507","",129,0
ofonod[846]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 4, id: 1, number: 0400929507 called_number: , called_name 
ofonod[846]: src/voicecall.c:ofono_voicecall_notify() Did not find a call with id: 1
ofonod[846]: PN_CALL (0x01): CALL_GSM_RAB_IND [id=0xA8 utid=0x07 len=16]:
ofonod[846]:     * 07 A8 01 02 B9 08 01 03 05 06 07 00 07 04 01 01 : .................
ofonod[846]: PN_CALL (0x01): CALL_RELEASE_IND [id=0x0B utid=0x08 len=16]:
ofonod[846]:     * 08 0B 01 02 08 04 03 10 17 08 06 00 00 00 00 00 : .................
ofonod[846]: PN_CALL (0x01): CALL_STATUS_IND [id=0x0F utid=0x09 len=28]:
ofonod[846]:     * 09 0F 01 05 0A 04 0A 00 07 04 01 01 08 04 03 10 : .................
ofonod[846]:     * BE 04 00 02 BF 08 02 E0 90 00 00 00             : ............
ofonod[846]: gisi: Success IND to 0x60e970 [res=0x01, id=0x0F, utid=0x09]
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_notify() called with status=CALL_STATUS_MT_RELEASE (0x0A)
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_status_to_clcc() statuses 10 5
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_notify() id=1,terminated,4,"0400929507","",129,0
ofonod[846]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 4, id: 1, number: 0400929507 called_number: , called_name 
ofonod[846]: src/voicecall.c:ofono_voicecall_notify() Found call with id: 1
ofonod[846]: PN_CALL (0x01): CALL_TERMINATED_IND [id=0x0C utid=0x0A len=24]:
ofonod[846]:     * 0A 0C 01 04 08 04 03 10 07 04 01 01 17 08 06 00 : .................
ofonod[846]:     * 00 00 00 00 20 04 03 10                         : ........
ofonod[846]: gisi: Success IND to 0x60e9c0 [res=0x01, id=0x0C, utid=0x0A]
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_notify() called with status=CALL_STATUS_TERMINATED (0x0F)
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_notify() State(CALL_STATUS_TERMINATED) need not be reported to Core
ofonod[846]: PN_CALL (0x01): CALL_STATUS_IND [id=0x0F utid=0x0B len=20]:
ofonod[846]:     * 0B 0F 01 04 0A 04 00 00 07 04 01 01 08 04 03 10 : .................
ofonod[846]:     * 20 04 03 10                                     : ....
ofonod[846]: gisi: Success IND to 0x60e970 [res=0x01, id=0x0F, utid=0x0B]
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_notify() called with status=CALL_STATUS_IDLE (0x00)
ofonod[846]: drivers/isimodem/voicecall.c:isi_call_disconnected() disconnected id=1 reason=2
ofonod[846]: src/voicecall.c:ofono_voicecall_disconnected() Got disconnection event for id: 1, reason: 2
ofonod[846]: Call Missed on modem: 0x60c760
ofonod[846]: Voice Call, Missed
ofonod[846]: Voice Call, Incoming
ofonod[846]: From: 0400929507
ofonod[846]: Missed Time: Sun, 01 May 2011 00:30:18 +0000
ofonod[846]: PN_CALL (0x01): CALL_SERVER_STATUS_IND [id=0x10 utid=0x0C len=4]:
ofonod[846]:     * 0C 10 00 00                                     : .....
ofonod[846]: gisi: Success IND to 0x604a30 [res=0x01, id=0x10, utid=0x0C]
ofonod[846]: src/audio-settings.c:ofono_audio_settings_active_notify() active 0
ofonod[846]: PN_NETWORK (0x0A): NET_<UNKNOWN> [id=0x3F utid=0x00 len=12]:
ofonod[846]:     * 00 3F 00 01 3C 08 00 00 00 00 00 00             : ..?..<.......
ofonod[846]: PN_NETWORK (0x0A): NET_CIPHERING_IND [id=0x20 utid=0x00 len=5]:
ofonod[846]:     * 00 20 02 00 00                                  : ......
ofonod[846]: PN_NETWORK (0x0A): NET_CHANNEL_INFO_IND [id=0x2C utid=0x00 len=8]:
ofonod[846]:     * 00 2C 00 01 28 04 2A 55                         : ..,..(.*U
ofonod[846]: Read ack received

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] isimodem: Improper handling of missed call
  2011-05-23 15:20 Arun Ravindran
@ 2011-05-30 12:03 ` Aki Niemi
  2011-05-30 19:35   ` Arun Ravindran
  0 siblings, 1 reply; 7+ messages in thread
From: Aki Niemi @ 2011-05-30 12:03 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1916 bytes --]

Hi Arun,

2011/5/23 Arun Ravindran <arunlee@gmail.com>:
> @@ -548,9 +555,26 @@ static void isi_call_notify(struct ofono_voicecall *ovc, struct isi_call *call)
>
>        case CALL_STATUS_MO_RELEASE:
>        case CALL_STATUS_MT_RELEASE:
> -       case CALL_STATUS_TERMINATED:
> +               /*
> +               * Core requires the call status to be either incoming
> +               * or waiting to identify the disconnected call as missed.
> +               * The MT RELEASE is not mapped to any state in +CLCC, but
> +               * we need the disconnect reason.
> +               */
>                isi_call_set_disconnect_reason(call);
>                break;
> +       case CALL_STATUS_TERMINATED:
> +               DBG("State( CALL_STATUS_TERMINATED ) need not be reported to Core");
> +               /*
> +               * The call terminated is not reported to core as
> +               * these intermediate states are not processed in
> +               * the core. We report the call status when it becomes
> +               * idle and TERMINATED is not mapped to +CLCC. The disconnect
> +               * reason is set, so that the call termination cause
> +               * in case of error is available to the core.
> +               */
> +               isi_call_set_disconnect_reason(call);
> +               return;

These comment blocks had some trailing whitespace.

I tested this patch, and I don't think it's still doing the right
thing. I don't seem to be able to generate a missed call, at least
when using the isiusb plugin. Somehow, ofono_voicecall_disconnect()
does not get called with the correct reason code.

Can you post logs on such a successful case, if you have any around?

Cheers,
Aki

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] isimodem: Improper handling of missed call
@ 2011-05-23 15:20 Arun Ravindran
  2011-05-30 12:03 ` Aki Niemi
  0 siblings, 1 reply; 7+ messages in thread
From: Arun Ravindran @ 2011-05-23 15:20 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 2334 bytes --]

---
 drivers/isimodem/voicecall.c |   32 ++++++++++++++++++++++++++++----
 1 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c
index 333f9b8..c599e39 100644
--- a/drivers/isimodem/voicecall.c
+++ b/drivers/isimodem/voicecall.c
@@ -50,6 +50,7 @@ struct isi_call {
 	uint8_t id;
 	uint8_t call_id;
 	uint8_t status;
+	uint8_t prev_status;
 	uint8_t mode;
 	uint8_t mode_info;
 	uint8_t cause_type;
@@ -314,7 +315,7 @@ static void isi_call_status_sb_proc(struct isi_voicecall *ivc,
 
 	if (!g_isi_sb_iter_get_byte(sb, &status, 2))
 		return;
-
+	call->prev_status = call->status;
 	call->status = status;
 }
 
@@ -401,10 +402,16 @@ static int isi_call_status_to_clcc(const struct isi_call *call)
 		return 5;
 
 	case CALL_STATUS_MO_RELEASE:
-	case CALL_STATUS_MT_RELEASE:
-	case CALL_STATUS_TERMINATED:
 		return 6;
 
+	case CALL_STATUS_MT_RELEASE:
+		if ((call->prev_status == CALL_STATUS_MT_ALERTING) ||
+				(call->prev_status == CALL_STATUS_COMING) ||
+				(call->prev_status == CALL_STATUS_WAITING))
+			return 4;
+		else
+			return 6;
+
 	case CALL_STATUS_ACTIVE:
 	case CALL_STATUS_HOLD_INITIATED:
 		return 0;
@@ -548,9 +555,26 @@ static void isi_call_notify(struct ofono_voicecall *ovc, struct isi_call *call)
 
 	case CALL_STATUS_MO_RELEASE:
 	case CALL_STATUS_MT_RELEASE:
-	case CALL_STATUS_TERMINATED:
+		/*
+		* Core requires the call status to be either incoming
+		* or waiting to identify the disconnected call as missed.
+		* The MT RELEASE is not mapped to any state in +CLCC, but
+		* we need the disconnect reason.
+		*/
 		isi_call_set_disconnect_reason(call);
 		break;
+	case CALL_STATUS_TERMINATED:
+		DBG("State( CALL_STATUS_TERMINATED ) need not be reported to Core");
+		/* 
+		* The call terminated is not reported to core as
+		* these intermediate states are not processed in 
+		* the core. We report the call status when it becomes 
+		* idle and TERMINATED is not mapped to +CLCC. The disconnect 
+		* reason is set, so that the call termination cause 
+		* in case of error is available to the core.
+		*/
+		isi_call_set_disconnect_reason(call);
+		return;
 	case CALL_STATUS_ANSWERED:
 		DBG("State need not be reported to Core");
 		return;
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-20 13:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-18 10:47 [PATCH] isimodem: Improper handling of missed call Arun Ravindran
2011-05-19 12:19 ` Aki Niemi
2011-05-23 15:20 Arun Ravindran
2011-05-30 12:03 ` Aki Niemi
2011-05-30 19:35   ` Arun Ravindran
2011-06-14  8:30     ` Aki Niemi
2011-07-20 13:14       ` Paccou, Nicolas

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.