Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

sol-connman: Add sol-connman basic API #1935

Closed
wants to merge 13 commits into from

Commits on May 16, 2016

  1. comms: Add so-connman API

    so-connman is for implementing connection manager features.
    The APIs should be implemented in Zephyr, connman and so on.
    To connman, the connman D-Bus APIs are wrapped in the so-connman
    APIs. The user can use the so-connman APIs to control connman.
    
    To invoke the D-Bus method of connman, the async call is used,
    the callback function is set to get the results of async call.
    
    The basic so-connman APIs are in the patch.
    It provides the APis of getting the name, ip address... of services.
    The service connect/disconnect APIs and set/get offline
    are implemented too.
    
    The further sol-connman APIs are being planned.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 16, 2016
    Configuration menu
    Copy the full SHA
    d404812 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2016

  1. sol-connman: Implement to get the service properties APIs for connman

    Get the service properties APIs are implemented.
    It based on connman and wraps the D-Bus APIs of connman services.
    Get the name, state, type, ip address ... of services are done.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    52a6b8d View commit details
    Browse the repository at this point in the history
  2. sol-connman: Implement sol-connman init and shutdown for connman

    sol-connman init/shutdown are implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    init/shutdown are not true to init/shutdown sol-connman.
    init_lazy/shutdown_lazy are true to init/shutdown sol-connman.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    7af40c5 View commit details
    Browse the repository at this point in the history
  3. sol-connman: Implement to set offline for connman

    sol-connman set offline are implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    It sets the connman to offline mode.
    It will close the all connection interfaces(including ethernet ...).
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    7f37de9 View commit details
    Browse the repository at this point in the history
  4. sol-connman: Implement to get connection manager state for connman

    Get connection manager state is implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    Get connection manager state are from connman.
    It includes online, ready, offline, idle.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    77cd7c7 View commit details
    Browse the repository at this point in the history
  5. sol-connman: Implement internal get services properties for connman

    Get services properties is implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    It only is invoked internal and in the process of init lazy.
    Get services properties APIs can't invoke the D-Bus APIs of connman directly.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    981a9e8 View commit details
    Browse the repository at this point in the history
  6. sol-connman: Implement add/del monitor for connman

    add/del monitor are implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    Monitor the connman services and connection manager state changed.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    8a57caa View commit details
    Browse the repository at this point in the history
  7. sol-connman: Implement callback for connman

    callback are implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    When add Monitor, callback function is registered.
    when any services properties and connection manager state are changed,
    the callback function can be invoked to notify the info.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    783cbab View commit details
    Browse the repository at this point in the history
  8. sol-connman: Implement network devices connect/disconnect for connman

    Network devices connect/disconnect are implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    b8bf1d6 View commit details
    Browse the repository at this point in the history
  9. sol-connman: Implement get services list API for connman

    Get services list are implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    The user can use the API to get services list.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    2b00c0b View commit details
    Browse the repository at this point in the history
  10. sol-connman: Add sol-connman to compile files

    Add sol-connman to compile files, so that sol-connman can be compiled.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    2fb4218 View commit details
    Browse the repository at this point in the history
  11. Test: add the test cases for sol-connman API

    The test cases will test sol-connman APIs
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 18, 2016
    Configuration menu
    Copy the full SHA
    445185a View commit details
    Browse the repository at this point in the history

Commits on May 20, 2016

  1. sol-comms: add the init and shutdown process of sol-connman

    The init and shutdown process of sol-connman need add to the
    init and shutdown process of sol-comms.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 20, 2016
    Configuration menu
    Copy the full SHA
    cda5dc4 View commit details
    Browse the repository at this point in the history