Hi,
Same patchset as before, but retested with Daniel's session-ui app.
It got some fixes and arrangment. local ConnectionType can be triggered alos if
underlying service is online, however
session won't be updated to state online. The is no need to tell the session it
is online if it requested a local connection. Or then it should use the default
value of ConnectionType.
Doc patch is more clear about ConnectionType also.
Daniel: I will send you patches for session-ui, which fixes small bugs and
makes it more compfortable to use ;)
Please review,
Tomasz
Tomasz Bursztyka (11):
session: changing online property to a state property
session: do not notify about service info if there is none
session: refactor and optimize how notification are raised and when
session: do not notify an ipconfig change if the session is not
connected
service: adding a function to know the connected state of an ipconfig
session: do not notify ipconfig content if it's not in a connected
state
session: introducing a property to select a type on which the state
gets up on
session: filtering session state update according to connection type
doc: updated session api documentation
test: fixing type conversion bug in test-session
test: modify test-session to handle a new property
doc/session-api.txt | 85 ++++++++++----
src/connman.h | 2 +
src/service.c | 18 +++
src/session.c | 322 +++++++++++++++++++++++++++++++++++----------------
test/test-session | 5 +-
5 files changed, 311 insertions(+), 121 deletions(-)
--
1.7.8.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman