Hi Luis,

I started to use ConnMan at work and we'd like to help with the
development and I have a doubt about the current DBus API.

Is there some way to be notified when the connection succeed or fail?

If there's no signal to for this state change already implemented, I
think that it could be done as (on device interface):

StateChanged => 2 (connecting)
StateChanged => 1 (connection failed - dhcp rejected client)
StateChanged => 0 (disconnected)
...
StateChanged => 2 (connecting)
StateChanged => 3 (connected)
...

I tried to get away with having a boolean for connected or not, but that is just not working out for the UI. I will look into adding more detailed states.

Regards

Marcel

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

Reply via email to