All of lore.kernel.org
 help / color / mirror / Atom feed
* ATModem-PPP Doubts
@ 2010-06-16  3:19 Arun Ravindran
  2010-06-16  4:07 ` Denis Kenzior
  2010-06-16  4:59 ` Kalle Valo
  0 siblings, 2 replies; 4+ messages in thread
From: Arun Ravindran @ 2010-06-16  3:19 UTC (permalink / raw)
  To: ofono

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

Hi,

We using a modem through atmodem interface. While testing the
functionalities, we found that the dataconnectionmanager interface is not
coming up.

We enabled the gprs modem driver creation and context creation in by adding
it in atgen.c

atgen_post_sim(struct ofono_modem *modem)
{
---------------------------------------------------------------
---------------------------------------------------------------
gprs = ofono_gprs_create(modem,0, "atmodem", chat);
gc = ofono_gprs_context_create(modem, 0, "atmodem", chat);

if (gprs && gc)
        ofono_gprs_add_context(gprs, gc);

mw = ofono_message_waiting_create(modem);
if (mw)
        ofono_message_waiting_register(mw);

}
After this change the dataconnection manager interface was shown in the
./list-medem script.

1) Is this a correct change ? why was this not present in atgen? Could any
one clarify?


We wanted PDP context activation through atmodem and we could see that our
modem returns
*at+cgdcont=?
+CGDCONT: (1-255),("IP","IPV6"),,,(0),(0,1,2)

OK
*
where as Nokia modem (E63) returns

*at+cgdcont=?
+CGDCONT: (1-2),"IP",,,(0),(0)
+CGDCONT: (1-2),"IPV6",,,(0),(0)

OK
*
The modem we use is returning the string in a different way from 3GPP 27.007
, which says to return the multiple PDP types are separate lines.

We modified the Gprs.c file in atmodem driver, to search for the list of
strings, and we are able to make PDP context activation.

2) Is this change an accepted one?

3) Currently i am stuck at the PPP (IPCP stage), how can i link this context
(and PPP link) to my Ubuntu's network manager?

Regards
Arun

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

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

end of thread, other threads:[~2010-06-16 12:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-16  3:19 ATModem-PPP Doubts Arun Ravindran
2010-06-16  4:07 ` Denis Kenzior
2010-06-16  4:59 ` Kalle Valo
2010-06-16 12:52   ` Arun Ravindran

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.