-
Notifications
You must be signed in to change notification settings - Fork 108
sol-connman: Add sol-connman basic API #2068
Commits on May 24, 2016
-
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]>
Configuration menu - View commit details
-
Copy full SHA for ef7d378 - Browse repository at this point
Copy the full SHA ef7d378View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 3fcf328 - Browse repository at this point
Copy the full SHA 3fcf328View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for ed7235c - Browse repository at this point
Copy the full SHA ed7235cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 394149a - Browse repository at this point
Copy the full SHA 394149aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for d6b3e3f - Browse repository at this point
Copy the full SHA d6b3e3fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for bae1df6 - Browse repository at this point
Copy the full SHA bae1df6View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1700cbe - Browse repository at this point
Copy the full SHA 1700cbeView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 92d4b05 - Browse repository at this point
Copy the full SHA 92d4b05View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for fab729f - Browse repository at this point
Copy the full SHA fab729fView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 250a248 - Browse repository at this point
Copy the full SHA 250a248View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for a321177 - Browse repository at this point
Copy the full SHA a321177View commit details -
Test: add the test cases for sol-netctl API
The test cases will test sol-netctl APIs Signed-off-by: Wu Zheng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b95aad2 - Browse repository at this point
Copy the full SHA b95aad2View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 19c60cb - Browse repository at this point
Copy the full SHA 19c60cbView commit details