Open Source Telephony
 help / color / mirror / Atom feed
From: Dragos Tatulea <dragos@endocode.com>
To: ofono@ofono.org
Subject: Re: Ublox Toby Modem
Date: Wed, 20 Apr 2016 16:18:06 +0200	[thread overview]
Message-ID: <57178F9E.6080604@endocode.com> (raw)
In-Reply-To: <57178E0F.7000904@gmx.net>

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

Hi,

On 04/20/2016 04:11 PM, Yorn wrote:
> + adding ofono mailinglist as it may be of interest
> 
Thanks.

> Point is, that I am trying to run the u-blox on ofono+connman and had/have some questions regarding the setup.
> I compiled the git version of the ofono for a freescale vf610 board with an onboard ublox usb adapter and got quite far.
> 
> A manual setup on pppd+peer+provider+chat script gave me a clean internet connection.
> 
> Now I want to integrate that with ofono/connman. I got ofono finding the module, advertise it as a cellular technology to connman, but no service is showing up.
> 
> I will go on setting up the umts high throughput profile.
> 
> So the rest of the story can be found below!
> 
> @Dragos:
> without any changes, I got
> lsusb:
> 1546:1146 U-Blox AG (which is high performance?)
>
Good. Now we're on stable grounds :).
 
> online modem runs without any complains, but without any changes
> root(a)colibri-vf:~/test# ./online-modem
> Setting modem /ublox_0 online...
> 
Can you check the output of list-contexts now? You should see one active.
And if that is so, you should also see a connman cellular service present.

> 
> BR - Yorn (Jörn)
> 
> 
> Am 20.04.2016 um 15:16 schrieb Dragos Tatulea:
>> Hi Jörn,
>>
>> Can we take this discussion to the connman/ofono ml? Other people
>> might find this useful.
>>
>> On 04/20/2016 03:01 PM, Jörn wrote:
>>> Hi Dragos,
>>>
>>> I got python to work for the test scripts, this is what it gave [1]. I believe I am just a minute away ..
>>>
>> Good.
>>
>>> I got the connection up and running on a manual (old fassioned) way with pppd, chat and provider script. However I am not an expert on ofono/connman yet (but trying hard ...).
>>>
>>> I firstly wanted to use 2g/3g with high performance mode (as I saw your effort has been put on this point, right?). I am rather not sure, how to configure that without having a connman service.
>> The AT Commands Examples [1] documents that (USB configuration section).
>> You should change the mode manually. A successful set will yield the
>> following ids from lsusb:
>>
>> 1546:1140 U-Blox AG
>>
>>
>>> BR - Jörn
>>>
>>> [1]
>>> root(a)colibri-vf:~/test# ./activate-context
>>> Error activating /ublox_0/context1: org.ofono.Error.NotAttached: GPRS is not attached
>>> root(a)colibri-vf:~/test# ./list-contexts
>>> [ /ublox_0 ]
>>>      [ /ublox_0/context1 ]
>>>          Username =
>>>          AuthenticationMethod = chap
>>>          Protocol = ip
>>>          Name = Internet
>>>          Settings = { }
>>>          IPv6.Settings = { }
>>>          Active = 0
>>>          AccessPointName =
>>>          Password =
>>>          Type = internet
>>>
>>> root(a)colibri-vf:~/test# ./list-modems
>>> [ /ublox_0 ]
>>>      Features = net gprs sim
>>>      Emergency = 0
>>>      Powered = 1
>>>      Lockdown = 0
>>>      Interfaces = org.ofono.NetworkRegistration org.ofono.ConnectionManager org.ofono.SimManager
>>>      Online = 1
>>>      Model = TOBY-L210
>>>      Revision = 09.71
>>>      Type = hardware
>>>      Serial = 352255060097262
>>>      Manufacturer = u-blox
>>>      [ org.ofono.NetworkRegistration ]
>>>          Status = roaming
>>>          Strength = 60
>>>          Name = Tele2 M2M (E-Plus)
>>>          LocationAreaCode = 0
>>>          Mode = auto
>>>          MobileCountryCode = 262
>>>          Technology = hspa
>>>          CellId = 16
>>>          MobileNetworkCode = 03
>>>      [ org.ofono.ConnectionManager ]
>>>          Powered = 1
>>>          Attached = 0
>>>          Bearer = none
>>>          RoamingAllowed = 0
>>>      [ org.ofono.SimManager ]
>>>          ServiceProviderName = Tele2 M2M
>>>          Retries = [pin2 = 3] [puk2 = 10] [pin = 3] [puk = 10]
>>>          MobileCountryCode = 240
>>>          FixedDialing = 0
>>>          SubscriberNumbers =
>>>          PreferredLanguages = en
>>>          BarredDialing = 0
>>>          CardIdentifier = 89462046051001005763
>>>          LockedPins =
>>>          MobileNetworkCode = 07
>>>          SubscriberIdentity = 240075810199181
>>>          Present = 1
>>>          PinRequired = none
>>>
>>>

Thanks
-- 
Dragos Tatulea
Software Developer @ Endocode AG
dragos(a)endocode.com

Endocode AG, Brückenstraße 5A, 10179 Berlin
+49 30 1206 4472 | info(a)endocode.com | www.endocode.com

Vorstandsvorsitzender: Mirko Boehm
Vorstände: Dr. Thomas Fricke, Sebastian Sucker
Aufsichtsratsvorsitzende: Alexandra Boehm

Registergericht: Amtsgericht Charlottenburg - HRB 150748 B

  reply	other threads:[~2016-04-20 14:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <57178134.7070200@endocode.com>
2016-04-20 14:11 ` Ublox Toby Modem Yorn
2016-04-20 14:18   ` Dragos Tatulea [this message]
2016-04-20 14:24     ` Yorn
2016-04-20 15:01       ` Dragos Tatulea
2016-04-20 17:54         ` Yorn
2016-04-21  9:03           ` Dragos Tatulea
2016-04-21 10:06             ` Yorn
2016-04-21 18:37             ` Yorn
2016-04-22 10:23               ` Dragos Tatulea
2016-04-22 11:51                 ` Yorn
2016-04-22 15:36                   ` Dragos Tatulea
2016-04-24 13:03                     ` Yorn
2016-04-20 15:02       ` Denis Kenzior
2016-04-20 16:34         ` Yorn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57178F9E.6080604@endocode.com \
    --to=dragos@endocode.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox