Queries Related to Connman and Session Management

2011-09-09 Thread Lewis Terence
Hi Zheng,

First, Thanks for your valuable opinions.

 Hi Lewis,

 I'm tester for connman and below are my humble opinions.

 Hello all,

 I am new to connman mailing list. For the better understanding of
 connman, i tested it with the python scripts which are available in
 the test folder. I have few question regarding connman, test-scripts
 and session management.

 1) There is a latest release of connman-0.77. Which is more stable -
 connman-0.76 or connman-0.77, with respect to wifi functionality.
 2) For creating a session in manager-api.txt, it is mentioned that :
 every application should atleast create one session to inform
 about its requirements and purpose
  Which application does it means? Because, if i open a
 Firefox(application), then there is no session created by it. Can
 anyone please give example of  what type of application is this?

 Firefox needs call connman session API to support connman session.


Did you mean that Firefox calls session-api to use a connman session?
Because firefox just need an active interface, either it is ethernet,
wifi or other, which is provided by Connman as a connection manager.
But how firefox will call connman session API?

 3) There is a Unit Test Framework in unit folder for test session.
 How to test that?
 4) Also, there is a Python Script : test-session , which requires an
 application path.
As mentioned in link,
 http://lists.connman.net/pipermail/connman/2011-April/004518.html;,
 at application path, it is provided with a /foo.
What and where is this foo application?
 5) In session-api.txt, there is a net.connman.Notification interface,
 with two methods. One of which is -
Update : what exactly it does?
 On every session creation this method is called once to
 inform about the current settings. To whom it inform? I mean where it
 updates the settings?

 I think a test example might help.
 # Run following commands in 1st console
 1. test-session enable # Enable session mode, this will disconnect all 
 networks
 2. test-session run /foo # The test-session application will use
 /foo as application path
 # run following connmands in 2nd console
 3. test-session create /foo # Create a session in test-session
 application at step 2, you will see initial session property values in
 console 1 through net.connman.Notification.Update.
 4. test-session connect /foo # Connect to a service, you will see IPv4
 updated in console 1.

Regarding this foo application, can i use any other available
applications or it is the only specific application for that purpose?
Because i am not aware what application it is. And if it is specific
one, then how should i get that application?

Best Regards
Lewis
___
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman


Re: Queries Related to Connman and Session Management

2011-09-09 Thread Patrik Flykt
On Fri, 2011-09-09 at 13:14 +0530, Lewis Terence wrote:
  Firefox needs call connman session API to support connman session.
 
 Did you mean that Firefox calls session-api to use a connman session?

I.e. firefox needs code changes in order to use ConnMan's Session API.

Of course firefox can passively wait for some other application
(supporting ConnMan's Session API) requesting a session to be connected.
After ConnMan has created the network connection, firefox can use it
normally. Do notice that by default ConnMan starts with session mode
disabled and thus ConnMan automatically connects the best network
available.

Cheers,

Patrik


___
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman


Queries Related to Connman and Session Management

2011-09-08 Thread Lewis Terence
Hello all,

I am new to connman mailing list. For the better understanding of
connman, i tested it with the python scripts which are available in
the test folder. I have few question regarding connman, test-scripts
and session management.

1) There is a latest release of connman-0.77. Which is more stable -
connman-0.76 or connman-0.77, with respect to wifi functionality.
2) For creating a session in manager-api.txt, it is mentioned that :
every application should atleast create one session to inform
about its requirements and purpose
 Which application does it means? Because, if i open a
Firefox(application), then there is no session created by it. Can
anyone please give example of  what type of application is this?
3) There is a Unit Test Framework in unit folder for test session.
How to test that?
4) Also, there is a Python Script : test-session , which requires an
application path.
   As mentioned in link,
http://lists.connman.net/pipermail/connman/2011-April/004518.html;,
at application path, it is provided with a /foo.
   What and where is this foo application?
5) In session-api.txt, there is a net.connman.Notification interface,
with two methods. One of which is -
   Update : what exactly it does?
On every session creation this method is called once to
inform about the current settings. To whom it inform? I mean where it
updates the settings?

Thanks and Regards
Lewis
___
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman


RE: Queries Related to Connman and Session Management

2011-09-08 Thread Zheng, Jeff

Hi Lewis,

I'm tester for connman and below are my humble opinions.
 
 Hello all,
 
 I am new to connman mailing list. For the better understanding of
 connman, i tested it with the python scripts which are available in
 the test folder. I have few question regarding connman, test-scripts
 and session management.
 
 1) There is a latest release of connman-0.77. Which is more stable -
 connman-0.76 or connman-0.77, with respect to wifi functionality.
 2) For creating a session in manager-api.txt, it is mentioned that :
 every application should atleast create one session to inform
 about its requirements and purpose
  Which application does it means? Because, if i open a
 Firefox(application), then there is no session created by it. Can
 anyone please give example of  what type of application is this?

Firefox needs call connman session API to support connman session.

 3) There is a Unit Test Framework in unit folder for test session.
 How to test that?
 4) Also, there is a Python Script : test-session , which requires an
 application path.
As mentioned in link,
 http://lists.connman.net/pipermail/connman/2011-April/004518.html;,
 at application path, it is provided with a /foo.
What and where is this foo application?
 5) In session-api.txt, there is a net.connman.Notification interface,
 with two methods. One of which is -
Update : what exactly it does?
 On every session creation this method is called once to
 inform about the current settings. To whom it inform? I mean where it
 updates the settings?

I think a test example might help. 
# Run following commands in 1st console
1. test-session enable # Enable session mode, this will disconnect all networks
2. test-session run /foo # The test-session application will use /foo as 
application path
# run following connmands in 2nd console
3. test-session create /foo # Create a session in test-session application at 
step 2, you will see initial session property values in console 1 through 
net.connman.Notification.Update.
4. test-session connect /foo # Connect to a service, you will see IPv4 updated 
in console 1.

 
 Thanks and Regards
 Lewis
 ___
 connman mailing list
 connman@connman.net
 http://lists.connman.net/listinfo/connman
___
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman