Samsung GI-B3740 support in Modem-manager?
Oskar Enoksson
enok at lysator.liu.se
Mon Oct 27 16:44:58 PDT 2014
I'm making some progress.
However, I did some necessary improvements in the 1.4.0 main sourcecode
in order to make modem command responses parsing work correctly (this
modem inserted whitespace in places that weren't handled by current
scanf pattern. It was just a few very easy fixes) . How can I commit
those fixes? Can I commit using git to somewhere?
On 10/23/2014 08:36 AM, Aleksander Morgado wrote:
> That's a good one, you got it pretty far.
>
> As you have a WWAN port, you shouldn't be using an ATD# call to
> connect the modem; as that would likely imply you're using PPP on the
> serial port. You'll need to:
> * Understand which AT command is needed in your case to get the modem
> connected.
> * Create a MMBroadbandBearerKalmia object, implementing the 3GPP
> connection sequence including the specific connection/disconnection
> commands for the modem.
> * Once the connection launched in the bearer, the bearer should
> likely configure 'DHCP' in the connection type property in the bearer,
> so that NetworkManager can launch a DHCP client in the WWAN port. Or,
> if you know how to query the modem for the IP settings to use, expose
> that info in the bearer properties and set STATIC as connection type
> for NetworkManager.
>
> I've also seen some additional unsolicited messages that you should
> try to process (or explicitly configure them to get ignored
> otherwise); e.g. +MODECHANGEIND or +ACTIVERATIND.
>
> The connection command may just be AT+CGATT (e.g. = 1, being 1 the PDP
> context that you just configured with your APN), according to this
> sequence from Marius:
> https://github.com/mkotsbak/Samsung-GT-B3730-linux-driver/blob/master/chatscript.txt
>
>
More information about the ModemManager-devel
mailing list