Hi Jackie,

> In latest ConnMan release 0.28, I found the ethernet service is removed when 
> the carrier is off. Is that an expected behavior with new update or a 
> problem/defect? I knew there were discussion about that question in mailing 
> list before but did not find the decision made. 

it is by design now. We changed also the documentation.

> I agree that the ethernet service is not useful when the carrier is off. But 
> I think it's necessary to provides interface to monitor the ethernet status 
> changes. Without the permanent ethernet service, I have to listen services 
> change first and then connect to the service to listen the state changes. 
> During the new service connectin setup, the carrier or even other signals 
> maybe lost. I may have to query the state actively. Another problem is when I 
> plug out the cable, I could not get any "disconnect", "idle" signals since 
> the service has been removed. You can also try with monitor-services. 
> 
> I could think out an alternative solution is to add some interfaces in 
> low-level APIs like device API so the ethernet status can be tracked easily. 

We could do that. However we added some new properties to the manager
interface. They tell you about ConnectedTechnologies etc.

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to