Hi,

I want use 3G huawei key E160G for connect to internet using ofono,
I have some troubles activating the pdp context, I use the Active property
to activate the internet connection but return "GPRS is not attached"

Step to reprodure

1) Plug 3G key E160

2) Listing the modem attached

$ ./list-modems
[ /huawei0 ]
    Lockdown = 0
    Interfaces =
    Powered = 0
    Features =
    Online = 0

3) Enable the modem

$ ./enable-modem
Connecting modem /huawei0...

4) Putting the modem online

$ ./online-modem
Setting modem /huawei0 online...

5) Enabling the gprs

$ ./enable-gprs
Connecting modem /huawei0.

5) Activate the connection context 1 (adding the apn), but ofono respond with

"Active" "GPRS is not attached"

Some suggestions ?

I have attached the log of ofono launched with debug option.

regs,
Claudio

# OFONO_AT_DEBUG=1 OFONO_PPP_DEBUG=1 ofonod -nd
ofonod[3120]: oFono version 0.45
ofonod[3120]: src/plugin.c:__ofono_plugin_init() 
ofonod[3120]: plugins/push-notification.c:push_notification_init() 
ofonod[3120]: plugins/smart-messaging.c:smart_messaging_init() 
ofonod[3120]: plugins/dun_gw.c:dun_gw_init() 
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811be20, 
name: hfp
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bdc0, 
name: linktop
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bd60, 
name: nokiacdma
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bd00, 
name: nokia
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bca0, 
name: tc65
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bc20, 
name: ste
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bbc0, 
name: ifx
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bb60, 
name: palmpre
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811bb00, 
name: novatel
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811baa0, 
name: sierra
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811ba40, 
name: huawei
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b9e0, 
name: zte
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b980, 
name: hso
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b920, 
name: mbm
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b8c0, 
name: calypso
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b860, 
name: wavecom
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b800, 
name: gobi
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b7a0, 
name: g1
ofonod[3120]: src/cdma-voicecall.c:ofono_cdma_voicecall_driver_register() 
driver: 0x811b744, name: cdmamodem
ofonod[3120]: src/modem.c:ofono_devinfo_driver_register() driver: 0x811b758, 
name: cdmamodem
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811b700, 
name: phonesim
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b6ec, name: phonesim
ofonod[3120]: src/ctm.c:ofono_ctm_driver_register() driver: 0x811b6d8, name: 
phonesim
ofonod[3120]: plugins/phonesim.c:parse_config() filename 
/usr/local/etc/ofono/phonesim.conf
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811b600, name: stemodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b68c, name: stemodem
ofonod[3120]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0x811b660, name: stemodem
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811b4e0, name: ifxmodem
ofonod[3120]: src/audio-settings.c:ofono_audio_settings_driver_register() 
driver: 0x811b528, name: ifxmodem
ofonod[3120]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0x811b540, name: ifxmodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b56c, name: ifxmodem
ofonod[3120]: src/stk.c:ofono_stk_driver_register() driver: 0x811b590, name: 
ifxmodem
ofonod[3120]: src/ctm.c:ofono_ctm_driver_register() driver: 0x811b5b4, name: 
ifxmodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b44c, name: hsomodem
ofonod[3120]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0x811b480, name: hsomodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b3d4, name: mbmmodem
ofonod[3120]: src/stk.c:ofono_stk_driver_register() driver: 0x811b3f8, name: 
mbmmodem
ofonod[3120]: 
src/location-reporting.c:ofono_location_reporting_driver_register() driver: 
0x811b414, name: mbmmodem
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811b300, name: hfpmodem
ofonod[3120]: src/network.c:ofono_netreg_driver_register() driver: 0x811b360, 
name: hfpmodem
ofonod[3120]: src/call-volume.c:ofono_call_volume_driver_register() driver: 
0x811b394, name: hfpmodem
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811b280, name: calypsomodem
ofonod[3120]: src/stk.c:ofono_stk_driver_register() driver: 0x811b2c8, name: 
calypsomodem
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811b1a0, name: huaweimodem
ofonod[3120]: src/audio-settings.c:ofono_audio_settings_driver_register() 
driver: 0x811b1e8, name: huaweimodem
ofonod[3120]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0x811b220, name: huaweimodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b1fc, name: huaweimodem
ofonod[3120]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0x811b140, name: nwmodem
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811afe0, name: atmodem
ofonod[3120]: src/modem.c:ofono_devinfo_driver_register() driver: 0x811b080, 
name: atmodem
ofonod[3120]: src/call-barring.c:ofono_call_barring_driver_register() driver: 
0x811b038, name: atmodem
ofonod[3120]: src/call-forwarding.c:ofono_call_forwarding_driver_register() 
driver: 0x811ae00, name: atmodem
ofonod[3120]: src/call-meter.c:ofono_call_meter_driver_register() driver: 
0x811ae40, name: atmodem
ofonod[3120]: src/call-settings.c:ofono_call_settings_driver_register() driver: 
0x811ad00, name: atmodem
ofonod[3120]: src/phonebook.c:ofono_phonebook_driver_register() driver: 
0x811b058, name: atmodem
ofonod[3120]: src/ussd.c:ofono_ussd_driver_register() driver: 0x811afa8, name: 
atmodem
ofonod[3120]: src/sms.c:ofono_sms_driver_register() driver: 0x811ad80, name: 
atmodem
ofonod[3120]: src/sim.c:ofono_sim_driver_register() driver: 0x811af00, name: 
atmodem
ofonod[3120]: src/stk.c:ofono_stk_driver_register() driver: 0x811af84, name: 
atmodem
ofonod[3120]: src/network.c:ofono_netreg_driver_register() driver: 0x811aea0, 
name: atmodem
ofonod[3120]: src/cbs.c:ofono_cbs_driver_register() driver: 0x811ade0, name: 
atmodem
ofonod[3120]: src/call-volume.c:ofono_call_volume_driver_register() driver: 
0x811b09c, name: atmodem
ofonod[3120]: src/gprs.c:ofono_gprs_driver_register() driver: 0x811b0c4, name: 
atmodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811b0e8, name: atmodem
ofonod[3120]: src/sim-auth.c:ofono_sim_auth_driver_register() driver: 
0x811b0fc, name: atmodem
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811ab00, 
name: u8500
ofonod[3120]: src/modem.c:ofono_devinfo_driver_register() driver: 0x811aad8, 
name: u8500
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811aa80, 
name: n900
ofonod[3120]: src/modem.c:ofono_modem_driver_register() driver: 0x811aa20, 
name: isiusb
ofonod[3120]: src/modem.c:ofono_devinfo_driver_register() driver: 0x811a6d4, 
name: isimodem
ofonod[3120]: src/phonebook.c:ofono_phonebook_driver_register() driver: 
0x811a6c4, name: isimodem
ofonod[3120]: src/network.c:ofono_netreg_driver_register() driver: 0x811a700, 
name: isimodem
ofonod[3120]: src/network.c:ofono_netreg_driver_register() driver: 0x811a740, 
name: wgmodem2.5
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811a780, name: isimodem
ofonod[3120]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0x811a7e0, name: wgmodem2.5
ofonod[3120]: src/sms.c:ofono_sms_driver_register() driver: 0x811a840, name: 
isimodem
ofonod[3120]: src/cbs.c:ofono_cbs_driver_register() driver: 0x811a860, name: 
isimodem
ofonod[3120]: src/sim.c:ofono_sim_driver_register() driver: 0x811a880, name: 
isimodem
ofonod[3120]: src/ussd.c:ofono_ussd_driver_register() driver: 0x811a8c8, name: 
isimodem
ofonod[3120]: src/call-forwarding.c:ofono_call_forwarding_driver_register() 
driver: 0x811a8e0, name: isimodem
ofonod[3120]: src/call-settings.c:ofono_call_settings_driver_register() driver: 
0x811a900, name: isimodem
ofonod[3120]: src/call-barring.c:ofono_call_barring_driver_register() driver: 
0x811a930, name: isimodem
ofonod[3120]: src/call-meter.c:ofono_call_meter_driver_register() driver: 
0x811a960, name: isimodem
ofonod[3120]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0x811a9a0, name: isimodem
ofonod[3120]: src/gprs.c:ofono_gprs_driver_register() driver: 0x811a9c4, name: 
isimodem
ofonod[3120]: src/gprs.c:ofono_gprs_context_driver_register() driver: 
0x811a9d8, name: isimodem
ofonod[3120]: src/audio-settings.c:ofono_audio_settings_driver_register() 
driver: 0x811a9ec, name: isimodem
ofonod[3120]: src/modem.c:ofono_modem_create() name: (null), type: huawei
ofonod[3120]: src/modem.c:set_modem_property() modem 0x87c5ef0 property Path
ofonod[3120]: src/modem.c:set_modem_property() modem 0x87c5ef0 property 
Registered
ofonod[3120]: plugins/udev.c:add_modem() 
/devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.1/ttyUSB1/tty/ttyUSB1 (huawei)
ofonod[3120]: plugins/udev.c:add_huawei() modem 0x87c5ef0
ofonod[3120]: src/modem.c:get_modem_property() modem 0x87c5ef0 property 
ModemRegistered
ofonod[3120]: src/modem.c:get_modem_property() modem 0x87c5ef0 property 
PcuiRegistered
ofonod[3120]: src/modem.c:set_modem_property() modem 0x87c5ef0 property Pcui
ofonod[3120]: src/modem.c:set_modem_property() modem 0x87c5ef0 property 
PcuiRegistered
ofonod[3120]: src/modem.c:get_modem_property() modem 0x87c5ef0 property Path
ofonod[3120]: plugins/udev.c:add_modem() 
/devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/ttyUSB0/tty/ttyUSB0 (huawei)
ofonod[3120]: plugins/udev.c:add_huawei() modem 0x87c5ef0
ofonod[3120]: src/modem.c:get_modem_property() modem 0x87c5ef0 property 
ModemRegistered
ofonod[3120]: src/modem.c:get_modem_property() modem 0x87c5ef0 property 
PcuiRegistered
ofonod[3120]: src/modem.c:set_modem_property() modem 0x87c5ef0 property Modem
ofonod[3120]: src/modem.c:set_modem_property() modem 0x87c5ef0 property 
ModemRegistered
ofonod[3120]: plugins/huawei.c:huawei_probe() 0x87c5ef0
ofonod[3120]: plugins/hfp_ag.c:modem_watch() modem: 0x87c5ef0, added: 1
ofonod[3120]: plugins/dun_gw.c:modem_watch() modem: 0x87c5ef0, added: 1
ofonod[3120]: plugins/smart-messaging.c:modem_watch() modem: 0x87c5ef0, added: 1
ofonod[3120]: plugins/push-notification.c:modem_watch() modem: 0x87c5ef0, 
added: 1
ofonod[3120]: plugins/huawei.c:huawei_enable() 0x87c5ef0
ofonod[3120]: src/modem.c:get_modem_property() modem 0x87c5ef0 property NDIS
ofonod[3120]: src/modem.c:get_modem_property() modem 0x87c5ef0 property Modem
ofonod[3120]: plugins/huawei.c:open_device() Modem /dev/ttyUSB0
ofonod[3120]: src/modem.c:get_modem_property() modem 0x87c5ef0 property Pcui
ofonod[3120]: plugins/huawei.c:open_device() Pcui /dev/ttyUSB1
ofonod[3120]: src/modem.c:get_modem_property() modem 0x87c5ef0 property HasVoice
ofonod[3120]: plugins/huawei.c:query_sim_state() 
ofonod[3120]: PCUI: > ATE0 +CMEE=1\r
ofonod[3120]: PCUI: < ATE0 +CMEE=1\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+CFUN=1\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: plugins/huawei.c:cfun_enable() 
ofonod[3120]: PCUI: > AT^SYSINFO\r
ofonod[3120]: PCUI: < \r\n^SYSINFO:0,0,0,0,0,,0\r\n\r\nOK\r\n
ofonod[3120]: plugins/huawei.c:notify_sim_state() 0
ofonod[3120]: src/modem.c:modem_change_state() old state: 0, new state: 1
ofonod[3120]: plugins/huawei.c:huawei_pre_sim() 0x87c5ef0
ofonod[3120]: PCUI: > AT^U2DIAG?\r
ofonod[3120]: src/sim.c:ofono_sim_add_state_watch() 0x87c3580
ofonod[3120]: src/sim.c:ofono_sim_add_state_watch() 0x87c3580
ofonod[3120]: PCUI: < \r\nERROR\r\n
ofonod[3120]: PCUI: > AT^GETPORTMODE\r
ofonod[3120]: PCUI: < \r\nERROR\r\n
ofonod[3120]: PCUI: > AT^USSDMODE=?\r
ofonod[3120]: PCUI: < \r\nERROR\r\n
ofonod[3120]: PCUI: > AT^CVOICE=?\r
ofonod[3120]: PCUI: < \r\nERROR\r\n
ofonod[3120]: PCUI: > AT+CGMI\r
ofonod[3120]: PCUI: < \r\nhuawei\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CGMM\r
ofonod[3120]: PCUI: < \r\nE160G\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CGMR\r
ofonod[3120]: PCUI: < \r\n11.604.21.00.156\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CGSN\r
ofonod[3120]: PCUI: < \r\n359390027919846\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CPIN?\r
ofonod[3120]: PCUI: < \r\n+CPIN: READY\r\n\r\nOK\r\n
ofonod[3120]: plugins/huawei.c:notify_sim_state() 1
ofonod[3120]: PCUI: > AT+CFUN=5\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+CRSM=192,12258,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"0000000A2FE2040005FFFF01020000"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 15
ofonod[3120]: PCUI: > AT+CRSM=176,12258,0,0,10\r
ofonod[3120]: PCUI: < \r\n+CRSM: 144,0,"989388304810719916F0"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 10
ofonod[3120]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, 
tocopy: 10
ofonod[3120]: PCUI: > AT+CRSM=192,28421,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"000000046F05040001FFFF01020000"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 15
ofonod[3120]: PCUI: > AT+CRSM=176,28421,0,0,4\r
ofonod[3120]: PCUI: < \r\n+CRSM: 144,0,"02010003"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 4
ofonod[3120]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, 
tocopy: 4
ofonod[3120]: PCUI: > AT+CRSM=192,12037,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CME ERROR: 21\r\n
ofonod[3120]: PCUI: > AT+CPIN?\r
ofonod[3120]: PCUI: < \r\n+CPIN: READY\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_cpin_cb() crsm_pin_cb: READY
ofonod[3120]: drivers/atmodem/sim.c:at_pin_retries_query() 
ofonod[3120]: PCUI: > AT^CPIN?\r
ofonod[3120]: PCUI: < \r\n^CPIN: READY,,10,3,10,3\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:huawei_cpin_cb() retry counter id=9, val=10
ofonod[3120]: drivers/atmodem/sim.c:huawei_cpin_cb() retry counter id=1, val=3
ofonod[3120]: drivers/atmodem/sim.c:huawei_cpin_cb() retry counter id=11, val=10
ofonod[3120]: drivers/atmodem/sim.c:huawei_cpin_cb() retry counter id=4, val=3
ofonod[3120]: PCUI: > AT+CRSM=192,28590,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"000000016FAE040006FFFF01020000"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 15
ofonod[3120]: PCUI: > AT+CRSM=176,28590,0,0,1\r
ofonod[3120]: PCUI: < \r\n+CRSM: 144,0,"03"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 1
ofonod[3120]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, 
tocopy: 1
ofonod[3120]: PCUI: > AT+CRSM=192,28589,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"000000036FAD040006FFFF01020000"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 15
ofonod[3120]: PCUI: > AT+CRSM=176,28589,0,0,3\r
ofonod[3120]: PCUI: < \r\n+CRSM: 144,0,"00FFFF"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 3
ofonod[3120]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, 
tocopy: 3
ofonod[3120]: PCUI: > AT+CRSM=192,28438,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CME ERROR: 21\r\n
ofonod[3120]: PCUI: > AT+CRSM=192,28472,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"0000000D6F38040016FFFF01020000"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 15
ofonod[3120]: PCUI: > AT+CRSM=176,28472,0,0,13\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"FF3FFF0F3F003C0F000C000000"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 13
ofonod[3120]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, 
tocopy: 13
ofonod[3120]: PCUI: > AT+CRSM=192,28474,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"00001B586F3A040011F6220102011C"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 15
ofonod[3120]: PCUI: > AT+CIMI\r
ofonod[3120]: PCUI: < \r\n222881842545862\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_cimi_cb() cimi_cb: 222881842545862
ofonod[3120]: src/modem.c:modem_change_state() old state: 1, new state: 2
ofonod[3120]: plugins/huawei.c:huawei_post_sim() 0x87c5ef0
ofonod[3120]: PCUI: > AT+CSCS=?\r
ofonod[3120]: PCUI: < \r\n+CSCS: ("IRA","GSM","UCS2")\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT^SYSCFG=?\r
ofonod[3120]: PCUI: < 
\r\n^SYSCFG:(2,13,14,16),(0-3),((200000,"GSM1900"),(280000,"GSM850/GSM1900"),(400380,"GSM900/GSM1800/WCDMA2100"),(3fffffff,"All
 Band")),(0-2),(0-4)\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CSMS=?\r
ofonod[3120]: PCUI: < \r\n+CSMS: (0-1)\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sms.c:at_csms_query_cb() CSMS query parsed 
successfully
ofonod[3120]: PCUI: > AT+CRSM=192,28480,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"0000003A6F40040011F6660102011D"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 15
ofonod[3120]: PCUI: > AT+CPBS=?\r
ofonod[3120]: PCUI: < \r\n+CPBS: ("SM","EN","ON")\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CSMS=1\r
ofonod[3120]: PCUI: < \r\n+CSMS: 1,1,1\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CRSM=178,28480,1,4,29\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 29
ofonod[3120]: PCUI: > AT+CSMS?\r
ofonod[3120]: PCUI: < \r\n+CSMS: ,1,1,1\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CRSM=178,28480,2,4,29\r
ofonod[3120]: PCUI: < \r\n+CRSM: 
144,0,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 29
ofonod[3120]: PCUI: > AT+CMGF=?\r
ofonod[3120]: PCUI: < \r\n+CMGF: (0-1)\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CRSM=192,20256,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CME ERROR: 21\r\n
ofonod[3120]: PCUI: > AT+CPMS=?\r
ofonod[3120]: PCUI: < \r\n+CPMS: 
("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CMGF=0\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+CPMS="ME","ME","ME"\r
ofonod[3120]: PCUI: < \r\n+CPMS: 0,23,0,23,0,23\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CNMI=?\r
ofonod[3120]: PCUI: < \r\n+CNMI: 
(0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/sms.c:build_cnmi_string() 
ofonod[3120]: PCUI: > AT+CNMI=1,1,2,1,0\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: src/sms.c:sms_restore_tx_queue() 
ofonod[3120]: plugins/push-notification.c:sms_watch() registered
ofonod[3120]: plugins/smart-messaging.c:sms_watch() registered
ofonod[3120]: PCUI: > AT+CMGL=4\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: drivers/atmodem/sms.c:at_cmgl_done() 
ofonod[3120]: PCUI: > AT+CGSMS=3\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: plugins/huawei.c:huawei_set_online() modem 0x87c5ef0 online
ofonod[3120]: PCUI: > AT+CFUN=1\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: src/modem.c:modem_change_state() old state: 2, new state: 3
ofonod[3120]: drivers/atmodem/gprs-context.c:at_gprs_context_probe() 
ofonod[3120]: PCUI: > AT+CREG=?\r
ofonod[3120]: PCUI: < \r\n+CREG: (0-2)\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CSCB=?\r
ofonod[3120]: PCUI: < \r\n+CSCB: (0-1)\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CSCS?\r
ofonod[3120]: PCUI: < \r\n+CSCS: "IRA"\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CUSD=1\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+CGDCONT=?\r
ofonod[3120]: PCUI: < \r\n+CGDCONT: (1-16),"IP",,,(0-2),(0-3)\r\n+CGDCONT: 
(1-16),"PPP",,,(0-2),(0-3)\r\n+CGDCONT: 
(1-16),"IPV6",,,(0-2),(0-3)\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CREG=2\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: src/network.c:__ofono_netreg_add_status_watch() 0x87c7018
ofonod[3120]: PCUI: > AT+CSCB=1,"0-65535"\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: src/cbs.c:cbs_got_imsi() Got IMSI: 222881842545862
ofonod[3120]: src/network.c:__ofono_netreg_add_status_watch() 0x87c7018
ofonod[3120]: PCUI: > AT+CGREG=?\r
ofonod[3120]: PCUI: < \r\n+CGREG: (0-2)\r\n\r\nOK\r\n
ofonod[3120]: PCUI: > AT+CREG?\r
ofonod[3120]: PCUI: < \r\n+CREG: 2,0,00,0\r\n\r\nOK\r\n
ofonod[3120]: src/network.c:current_operator_callback() 0x87c7018, (nil)
ofonod[3120]: src/cbs.c:cbs_location_changed() 0, -1, -1, -1, (null)(null)
ofonod[3120]: PCUI: > AT+CRSM=192,28613,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CME ERROR: 21\r\n
ofonod[3120]: PCUI: > AT+CGREG=2\r
ofonod[3120]: src/simfs.c:sim_fs_op_read_block() bufoff: 0, seekoff: 39, 
toread: 17
ofonod[3120]: EFspn read successfully, but couldn't parse
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+CGAUTO=0\r
ofonod[3120]: PCUI: < \r\nERROR\r\n
ofonod[3120]: PCUI: > AT+CGEREP=2,1\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: src/network.c:__ofono_netreg_add_status_watch() 0x87c7018
ofonod[3120]: PCUI: > AT+COPS=0\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+CRSM=192,28488,0,0,255\r
ofonod[3120]: PCUI: < \r\n+CME ERROR: 21\r\n
ofonod[3120]: drivers/atmodem/cbs.c:at_cbs_set_topics() 
ofonod[3120]: PCUI: > AT+CPSB=1\r
ofonod[3120]: PCUI: < \r\nERROR\r\n
ofonod[3120]: PCUI: > AT+CREG?\r
ofonod[3120]: PCUI: < \r\n+CREG: 2,0,00,0\r\n\r\nOK\r\n
ofonod[3120]: src/network.c:current_operator_callback() 0x87c7018, (nil)
ofonod[3120]: src/gprs.c:netreg_status_changed() 0
ofonod[3120]: src/cbs.c:cbs_location_changed() 0, -1, -1, -1, (null)(null)
ofonod[3120]: PCUI: > AT+CSCB=1\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+CSCB=0,"4352-4356"\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: < \r\n^MODE:0,0\r\n
ofonod[3120]: PCUI: < \r\n^SRVST:1\r\n\r\n^MODE:3,2\r\n\r\n+CREG: 
2,2EF6,E925\r\n\r\n+CGREG: 2,2EF6,E925\r\n
ofonod[3120]: src/network.c:current_operator_callback() 0x87c7018, (nil)
ofonod[3120]: src/gprs.c:netreg_status_changed() 2
ofonod[3120]: src/cbs.c:cbs_location_changed() 2, -1, -1, -1, (null)(null)
ofonod[3120]: src/gprs.c:ofono_gprs_status_notify() /huawei0 status 2
ofonod[3120]: PCUI: < \r\n^SIMST:1\r\n\r\n^SRVST:2\r\n\r\n+CREG: 
1,2EF6,E925\r\n\r\n+CGREG: 0,2EF6,E925\r\n
ofonod[3120]: plugins/huawei.c:notify_sim_state() 1
ofonod[3120]: src/gprs.c:netreg_status_changed() 1
ofonod[3120]: src/cbs.c:cbs_location_changed() 1, 12022, 59685, -1, (null)(null)
ofonod[3120]: src/gprs.c:ofono_gprs_status_notify() /huawei0 status 0
ofonod[3120]: PCUI: > AT+CFUN=5\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+COPS=3,2\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+COPS?\r
ofonod[3120]: PCUI: < \r\n+COPS: 0,2,"22288",0\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/network-registration.c:cops_numeric_cb() Cops 
numeric got mcc: 222, mnc: 88
ofonod[3120]: PCUI: > AT+CSQ\r
ofonod[3120]: PCUI: < \r\n+CSQ: 99,99\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/network-registration.c:csq_cb() csq_cb: 99
ofonod[3120]: PCUI: > AT+CGATT=1\r
ofonod[3120]: PCUI: < \r\nERROR\r\n
ofonod[3120]: src/gprs.c:gprs_attach_callback() /huawei0 error = 5
ofonod[3120]: PCUI: > AT+COPS=3,0\r
ofonod[3120]: PCUI: < \r\nOK\r\n
ofonod[3120]: PCUI: > AT+COPS?\r
ofonod[3120]: PCUI: < \r\n+COPS: 0,0,"I WIND",0\r\n\r\nOK\r\n
ofonod[3120]: drivers/atmodem/network-registration.c:cops_cb() cops_cb: I WIND, 
222 88 0
ofonod[3120]: src/network.c:current_operator_callback() 0x87c7018, (nil)
ofonod[3120]: src/gprs.c:netreg_status_changed() 1
ofonod[3120]: src/cbs.c:cbs_location_changed() 1, 12022, 59685, -1, 22288
ofonod[3120]: src/cbs.c:cbs_location_changed() 1, 0, 0
ofonod[3120]: PCUI: > AT+CGREG?\r
ofonod[3120]: PCUI: < \r\n+CGREG: 2,0,2EF6,E925\r\n\r\nOK\r\n
ofonod[3120]: src/gprs.c:registration_status_cb() /huawei0 error 0 status 0
ofonod[3120]: src/gprs.c:ofono_gprs_status_notify() /huawei0 status 0
ofonod[3120]: PCUI: < \r\n^RSSI:19\r\n
ofonod[3120]: PCUI: < \r\n^MODE:3,2\r\n
ofonod[3120]: PCUI: < 
\r\n^RSSI:99\r\n\r\n^SRVST:0\r\n\r\n^MODE:0,0\r\n\r\n+CREG: 
2,00,0\r\n\r\n+CGREG: 2,00,0\r\n
ofonod[3120]: src/network.c:current_operator_callback() 0x87c7018, 0x87cc390
ofonod[3120]: src/gprs.c:netreg_status_changed() 2
ofonod[3120]: src/cbs.c:cbs_location_changed() 2, -1, -1, -1, (null)(null)
ofonod[3120]: src/cbs.c:cbs_location_changed() 1, 0, 0
ofonod[3120]: src/gprs.c:netreg_status_changed() 2
ofonod[3120]: src/cbs.c:cbs_location_changed() 2, -1, -1, -1, (null)(null)
ofonod[3120]: src/gprs.c:ofono_gprs_status_notify() /huawei0 status 2

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to