Hi Patrik,

On 02/05/2016 08:34, Patrik Flykt wrote:
On Fri, 2016-04-29 at 16:31 +0200, Martin Chaplet wrote:
Hi,

I have issues using a new QMI modem with ofono.
Although QMI standard tools (libqmi) are working very well, I can't
use ofono to make a data connection.
You probably already checked with oFono ml about the issue? Were there
any ideas of providing proper support?

Yes. Actually, Denis helped me to add support for the modem (Sierra MC73xx).
So now, I'm able to use it.


      
I'm so wondering if there is a way to add some "hooks" for connman to
implement service.connect and disconnect functions.

The idea is to use external tools to bring up/down interface and then
let Connman handle DHCP and more generally all IP and routing
features.

Does it seem technically feasible ?
Unfortunately not really. The overall architecture is such that the
plugins detect and manage certain network technologies and report those
to ConnMan. One would need to create a very special plugin that'd
detect only these hand-made interfaces. Providing proper support in
oFono for handling these modems is the only future proof way dealing
with these.

Ok, thanks for the information.

Best regards,

Martin