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 #2068

Closed
wants to merge 13 commits into from

Commits on May 24, 2016

  1. comms: Add so-netctl API

    so-netctl 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-netctl
    APIs. The user can use the so-netctl 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-netctl 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-netctl APIs are being planned.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 24, 2016
    Configuration menu
    Copy the full SHA
    ef7d378 View commit details
    Browse the repository at this point in the history
  2. sol-netctl: Get the service properties is implemented for connman

    Get the service properties is 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 24, 2016
    Configuration menu
    Copy the full SHA
    3fcf328 View commit details
    Browse the repository at this point in the history
  3. sol-netctl: sol-netctl init and shutdown are implemented for connman

    sol-netctl 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-netctl.
    init_lazy/shutdown_lazy are true to init/shutdown sol-netctl.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 24, 2016
    Configuration menu
    Copy the full SHA
    ed7235c View commit details
    Browse the repository at this point in the history
  4. sol-netctl: Set offline is implemented for connman

    sol-netctl set offline is 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 24, 2016
    Configuration menu
    Copy the full SHA
    394149a View commit details
    Browse the repository at this point in the history
  5. sol-netctl: Get connection manager state is implemented for connman

    Get connection manager state is implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    Get connection manager state is from connman.
    It includes online, ready, offline, idle.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 24, 2016
    Configuration menu
    Copy the full SHA
    d6b3e3f View commit details
    Browse the repository at this point in the history
  6. sol-netctl: 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 24, 2016
    Configuration menu
    Copy the full SHA
    bae1df6 View commit details
    Browse the repository at this point in the history
  7. sol-netctl: Add/del monitor functions are implemented for connman

    Add/del monitors functions are implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    After add the monitors, the connman services and connection
    manager state are monitored.
    After del the monitors, the related network info can't be monitored.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 24, 2016
    Configuration menu
    Copy the full SHA
    1700cbe View commit details
    Browse the repository at this point in the history
  8. sol-netctl: Monitor callback functions are implemented for connman

    Monitor callback functions are implemented.
    It based on connman and wraps the D-Bus APIs of connman.
    When Netctl monitor is added, callback function need to be registered.
    when any services properties and connection manager state are changed,
    the callback functions can be invoked to notify the related info.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 24, 2016
    Configuration menu
    Copy the full SHA
    92d4b05 View commit details
    Browse the repository at this point in the history
  9. sol-netctl: 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 24, 2016
    Configuration menu
    Copy the full SHA
    fab729f View commit details
    Browse the repository at this point in the history
  10. sol-netctl: Get services list is implemented for connman

    Get services list is 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 24, 2016
    Configuration menu
    Copy the full SHA
    250a248 View commit details
    Browse the repository at this point in the history
  11. sol-netctl: Add sol-netctl build files

    Add sol-netctl build files, so that sol-netctl API can be built.
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 24, 2016
    Configuration menu
    Copy the full SHA
    a321177 View commit details
    Browse the repository at this point in the history
  12. Test: add the test cases for sol-netctl API

    The test cases will test sol-netctl APIs
    
    Signed-off-by: Wu Zheng <[email protected]>
    wzhen12 committed May 24, 2016
    Configuration menu
    Copy the full SHA
    b95aad2 View commit details
    Browse the repository at this point in the history
  13. sol-netctl: add the init and shutdown process of sol-netctl

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