* Unable to connect to service
@ 2014-02-24 18:59 Homam Dabis
2014-02-24 20:25 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Homam Dabis @ 2014-02-24 18:59 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 3013 bytes --]
Hi,
Huawei E303, ofono 1.14, connman 1.20
I am unable to connect to a service.
I do the following:
dbus-send --system --print-reply --dest=org.ofono /huawei_0
org.ofono.ConnectionManager.GetContexts
I get
method return sender=:1.11 -> dest=:1.25 reply_serial=2
array [
struct {
object path "/huawei_0/context1"
array [
dict entry(
string "Name"
variant string "Internet"
)
dict entry(
string "Active"
variant boolean false
)
dict entry(
string "Type"
variant string "internet"
)
dict entry(
string "Protocol"
variant string "ip"
)
dict entry(
string "AccessPointName"
variant string "3ireland.ie"
)
dict entry(
string "Username"
variant string ""
)
dict entry(
string "Password"
variant string ""
)
dict entry(
string "Settings"
variant array [
]
)
dict entry(
string "IPv6.Settings"
variant array [
]
)
]
}
]
followed by:
ofonod[1407]: PCUI: < \r\n+COPS: 0,0,"3 IRL",2\r\n\r\nOK\r\n
ofonod[1407]:
/ofono/1.14-r0/ofono-1.14/drivers/atmodem/network-registration.c:cops_cb()
cops_cb: 3 IRL, 272 05 2
ofonod[1407]:
/ofono/1.14-r0/ofono-1.14/src/network.c:current_operator_callback()
0x556ea438, (nil)
ofonod[1407]: /ofono/1.14-r0/ofono-1.14/src/cbs.c:cbs_location_changed() 1,
-1, -1, 2, 27205
ofonod[1407]: /ofono/1.14-r0/ofono-1.14/src/cbs.c:cbs_location_changed() 1,
0, 0
ofonod[1407]: /ofono/1.14-r0/ofono-1.14/src/gprs.c:netreg_status_changed() 1
ofonod[1407]:
/ofono/1.14-r0/ofono-1.14/drivers/atmodem/gprs-context.c:at_gprs_activate_primary()
cid 1
ofonod[1407]: Modem: > AT+CGDCONT=1,"IP","3ireland.ie"\r
ofonod[1407]: Modem: < \r\nOK\r\n
ofonod[1407]:
/ofono/1.14-r0/ofono-1.14/drivers/atmodem/gprs-context.c:at_cgdcont_cb() ok
1
ofonod[1407]: Modem: > AT+CGDATA="PPP",1\r
ofonod[1407]: Modem: < \r\n+CME ERROR: 50\r\n
ofonod[1407]:
/ofono/1.14-r0/ofono-1.14/drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 0
ofonod[1407]: Unable to enter data state
ofonod[1407]: /ofono/1.14-r0/ofono-1.14/src/gprs.c:pri_activate_callback()
0x556ecea8
ofonod[1407]: /ofono/1.14-r0/ofono-1.14/src/gprs.c:pri_activate_callback()
Activating context failed with error: Incorrect parameters
The same modem works fine on a different platform.
Is the error related to the modem driver?
Homam
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 4216 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unable to connect to service
2014-02-24 18:59 Unable to connect to service Homam Dabis
@ 2014-02-24 20:25 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2014-02-24 20:25 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 612 bytes --]
Hi Homam,
> ofonod[1407]: Modem: > AT+CGDATA="PPP",1\r
> ofonod[1407]: Modem: < \r\n+CME ERROR: 50\r\n
> ofonod[1407]:
> /ofono/1.14-r0/ofono-1.14/drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 0
> ofonod[1407]: Unable to enter data state
> ofonod[1407]:
> /ofono/1.14-r0/ofono-1.14/src/gprs.c:pri_activate_callback() 0x556ecea8
> ofonod[1407]:
> /ofono/1.14-r0/ofono-1.14/src/gprs.c:pri_activate_callback() Activating
> context failed with error: Incorrect parameters
This was already discussed in the thread "Unable to connect Huawei
HiLink E303" earlier this month.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-24 20:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24 18:59 Unable to connect to service Homam Dabis
2014-02-24 20:25 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.