Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. Question about "MoveBefore" and notifications (l.genevet)


----------------------------------------------------------------------

Message: 1
Date: Mon, 1 Aug 2016 14:50:15 +0200
From: "l.genevet" <[email protected]>
To: [email protected]
Subject: Question about "MoveBefore" and notifications
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

Hello,

I am working on an connman integrated in an embedded system for home 
automation.
We are using Connman 1.23 with an Ofono plugin to be able to switch to a 
GSM modem in case of an issue with the ethernet interface.

If we are not able to ping our server even if the ethernet service is 
ready, we would like to force the switch to the GSM.
For that, we use the connman Service MoveBefore API.

After MoveBefore :
- the GSM interface is used.
- the default route is up to date.
But
- connman does not notify a change of State on the ethernet or the GSM 
interface.
- the services are not reordered after the switch.

Is this seems  like a normal behaviour ?

Are there any other way to be notified via connman that the default 
route has changed?
I saw that IPv4 "Gateway" field of the ethernet interface disappears 
once MoveBefore GSM has changed -> can I use that information to be sure 
ethernet does not have the default route anymore?

Thanks by advance for your help,

Regards,
Lidwine


------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 10, Issue 1
**************************************

Reply via email to